types: test cases typing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import Empty from '..';
|
||||
import { mount } from '@vue/test-utils';
|
||||
import { mount } from '../../../test';
|
||||
|
||||
test('should render image slot correctly', () => {
|
||||
const wrapper = mount(Empty, {
|
||||
@@ -48,7 +48,7 @@ test('should change image size when using image-size prop', async () => {
|
||||
},
|
||||
});
|
||||
|
||||
const image = wrapper.find('.van-empty__image').element;
|
||||
const image = wrapper.find('.van-empty__image');
|
||||
|
||||
expect(image.style.width).toEqual('50px');
|
||||
expect(image.style.height).toEqual('50px');
|
||||
Reference in New Issue
Block a user