diff --git a/resources/assets/js/components/ui/ViewModeSwitch.spec.ts b/resources/assets/js/components/ui/ViewModeSwitch.spec.ts index 659b3c73..08037057 100644 --- a/resources/assets/js/components/ui/ViewModeSwitch.spec.ts +++ b/resources/assets/js/components/ui/ViewModeSwitch.spec.ts @@ -7,7 +7,7 @@ new class extends UnitTestCase { it.each<[ArtistAlbumViewMode]>([['thumbnails'], ['list']])('renders %s mode', mode => { expect(this.render(ViewModeSwitch, { props: { - mode + modelValue: mode } }).html()).toMatchSnapshot() })