test(components): [card] correct shadow props (#8059)

This commit is contained in:
류한경
2022-06-03 10:01:47 +09:00
committed by GitHub
parent f7d24cbc0b
commit 90702b591e

View File

@@ -60,7 +60,7 @@ describe('Card.vue', () => {
})
test('shadow', () => {
const shadow = 'test-shadow'
const shadow = 'always'
const wrapper = mount(() => <Card shadow={shadow}>{AXIOM}</Card>)
expect(wrapper.find(`.is-${shadow}-shadow`).exists()).toBe(true)