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('render left & right slot', () => {
const wrapper = mount(NavBar, {
scopedSlots: {
left: () => 'Custom Left',
right: () => 'Custom Right'
}
right: () => 'Custom Right',
},
});
expect(wrapper).toMatchSnapshot();
@@ -15,8 +15,8 @@ test('render left & right slot', () => {
test('render title slot', () => {
const wrapper = mount(NavBar, {
scopedSlots: {
title: () => 'Custom Title'
}
title: () => 'Custom Title',
},
});
expect(wrapper).toMatchSnapshot();