types: test cases typing
This commit is contained in:
@@ -31,7 +31,7 @@ export default createComponent({
|
||||
loadingText: String,
|
||||
modelValue: {
|
||||
type: Boolean,
|
||||
required: true,
|
||||
default: false,
|
||||
},
|
||||
successDuration: {
|
||||
type: [Number, String],
|
||||
|
||||
@@ -148,5 +148,5 @@ test('should set height when using head-height', async () => {
|
||||
},
|
||||
});
|
||||
const head = wrapper.find('.van-pull-refresh__head');
|
||||
expect(head.element.style.height).toEqual('100px');
|
||||
expect(head.style.height).toEqual('100px');
|
||||
});
|
||||
Reference in New Issue
Block a user