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
@@ -14,7 +14,7 @@ test('create a notify', async () => {
test('type prop', async () => {
const notify = Notify({
message: 'test',
type: 'primary'
type: 'primary',
});
await later();
@@ -28,7 +28,7 @@ test('notify disappear', async () => {
color: 'red',
background: 'blue',
duration: 10,
onClose
onClose,
});
await later();
@@ -40,7 +40,7 @@ test('notify disappear', async () => {
Notify({
message: 'text2',
duration: 0
duration: 0,
});
await later();
@@ -63,7 +63,7 @@ test('onClick prop', async () => {
const onClick = jest.fn();
const notify = Notify({
message: 'test',
onClick
onClick,
});
notify.$el.click();