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
@@ -18,7 +18,7 @@ test('Button render default slot', () => {
const wrapper = mount({
render(h) {
return h(Button, null, ['Default Content']);
}
},
});
expect(wrapper).toMatchSnapshot();
@@ -28,7 +28,7 @@ test('Icon render default slot', () => {
const wrapper = mount({
render(h) {
return h(Icon, null, ['Default Content']);
}
},
});
expect(wrapper).toMatchSnapshot();
@@ -40,10 +40,10 @@ test('Icon render icon slot', () => {
return h(Icon, {
scopedSlots: {
default: () => 'Text',
icon: () => 'Custom Icon'
}
icon: () => 'Custom Icon',
},
});
}
},
});
expect(wrapper).toMatchSnapshot();