types: test cases typing

This commit is contained in:
chenjiahan
2021-02-11 13:04:00 +08:00
parent 7a5fb894d2
commit e2e0f66fe6
87 changed files with 129 additions and 121 deletions
+1 -3
View File
@@ -112,9 +112,7 @@ test('should change icon size when using size prop', () => {
},
});
expect(wrapper.find('.van-rate__icon').element.style.fontSize).toEqual(
'2rem'
);
expect(wrapper.find('.van-rate__icon').style.fontSize).toEqual('2rem');
});
test('should not emit change event when untouchable rate is touchmoved', () => {