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
+4 -4
View File
@@ -5,8 +5,8 @@ test('calc width', async () => {
const wrapper = mount(Progress, {
propsData: {
showPivot: false,
percentage: 100
}
percentage: 100,
},
});
await later();
expect(wrapper).toMatchSnapshot();
@@ -20,8 +20,8 @@ test('calc width', async () => {
test('track color prop', async () => {
const wrapper = mount(Progress, {
propsData: {
trackColor: 'green'
}
trackColor: 'green',
},
});
expect(wrapper.element.style.background).toEqual('green');