types: test cases typing
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { mount } from '@vue/test-utils';
|
||||
import { mount } from '../../../test';
|
||||
import VanImage from '..';
|
||||
import Lazyload from '../../lazyload';
|
||||
|
||||
@@ -133,8 +133,8 @@ test('should change border radius when using border-radius prop', () => {
|
||||
},
|
||||
});
|
||||
|
||||
expect(wrapper.element.style.overflow).toEqual('hidden');
|
||||
expect(wrapper.element.style.borderRadius).toEqual('3px');
|
||||
expect(wrapper.style.overflow).toEqual('hidden');
|
||||
expect(wrapper.style.borderRadius).toEqual('3px');
|
||||
});
|
||||
|
||||
test('should render default slot correctly', () => {
|
||||
Reference in New Issue
Block a user