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

View File

@@ -252,7 +252,7 @@ test('should update input width when using input-width prop', () => {
inputWidth: '10rem',
},
});
expect(wrapper.find('input').element.style.width).toEqual('10rem');
expect(wrapper.find('input').style.width).toEqual('10rem');
});
test('should update input height and button size when using button-size prop', () => {