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
@@ -34,8 +34,8 @@ test('should change circle size when using size prop', () => {
},
});
expect(wrapper.element.style.width).toEqual('100px');
expect(wrapper.element.style.height).toEqual('100px');
expect(wrapper.style.width).toEqual('100px');
expect(wrapper.style.height).toEqual('100px');
});
test('should change stroke linecap when using stroke-linecap prop', () => {