test(Loading): update test cases

This commit is contained in:
chenjiahan
2020-11-14 06:57:02 +08:00
parent a13f4fd1e4
commit 2b34fac38d
4 changed files with 30 additions and 31 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ test('should render badge correctly', () => {
expect(wrapper.find('.van-badge').html()).toMatchSnapshot();
});
test('should change icon size after using size prop', () => {
test('should change icon size when using size prop', () => {
const wrapper = mount(Icon, {
props: {
size: 20,