mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
test(components): [card] correct shadow props (#8059)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user