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
+5 -5
View File
@@ -9,8 +9,8 @@ test('click grid item', () => {
</van-grid>
`,
methods: {
onClick
}
onClick,
},
});
const Item = wrapper.find('.van-grid-item__content');
@@ -27,7 +27,7 @@ test('sqaure and set gutter', () => {
<van-grid-item />
<van-grid-item />
</van-grid>
`
`,
});
expect(wrapper).toMatchSnapshot();
@@ -39,7 +39,7 @@ test('icon-size prop', () => {
<van-grid icon-size="10">
<van-grid-item icon="success" />
</van-grid>
`
`,
});
expect(wrapper).toMatchSnapshot();
@@ -53,7 +53,7 @@ test('render icon-slot', () => {
<div slot="icon" />
</van-grid-item>
</van-grid>
`
`,
});
expect(wrapper).toMatchSnapshot();