From c4af42562be81929cfb985364e56f88ec291c5ba Mon Sep 17 00:00:00 2001 From: Phan An Date: Sun, 29 May 2022 23:51:58 +0200 Subject: [PATCH] fix: broken ViewModeSwitch spec --- resources/assets/js/components/ui/ViewModeSwitch.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() })