fix: broken ViewModeSwitch spec

This commit is contained in:
Phan An 2022-05-29 23:51:58 +02:00
parent 85cbe4e087
commit c4af42562b
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC

View file

@ -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()
})