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
@@ -11,8 +11,8 @@ test('click event', () => {
test('close event', () => {
const wrapper = mount(NoticeBar, {
propsData: {
mode: 'closeable'
}
mode: 'closeable',
},
});
const close = wrapper.find('.van-notice-bar__right-icon');
@@ -30,8 +30,8 @@ test('icon slot', () => {
</notice-bar>
`,
components: {
NoticeBar
}
NoticeBar,
},
});
expect(wrapper).toMatchSnapshot();