chore: add trailingComma

This commit is contained in:
陈嘉涵
2020-01-19 11:57:09 +08:00
parent e841175fe8
commit 389d68884d
269 changed files with 2706 additions and 2702 deletions
+7 -7
View File
@@ -5,8 +5,8 @@ test('row-width array', () => {
const wrapper = mount(Skeleton, {
propsData: {
row: 4,
rowWidth: ['100%', 30, '5rem']
}
rowWidth: ['100%', 30, '5rem'],
},
});
expect(wrapper).toMatchSnapshot();
});
@@ -18,7 +18,7 @@ test('render chidren', () => {
<div>Content</div>
</skeleton>
`,
components: { Skeleton }
components: { Skeleton },
});
expect(wrapper).toMatchSnapshot();
});
@@ -28,8 +28,8 @@ test('avatar shape', () => {
propsData: {
avatar: true,
avatarSize: 20,
avatarShape: 'square'
}
avatarShape: 'square',
},
});
expect(wrapper).toMatchSnapshot();
});
@@ -38,8 +38,8 @@ test('disable animate', () => {
const wrapper = mount(Skeleton, {
propsData: {
row: 1,
aniamte: false
}
aniamte: false,
},
});
expect(wrapper).toMatchSnapshot();
});