chore: prettier test files

This commit is contained in:
陈嘉涵
2020-01-19 16:16:54 +08:00
parent 82208c42b8
commit 2adcfd8b8b
15 changed files with 65 additions and 32 deletions
+4 -1
View File
@@ -105,7 +105,10 @@ test('onClose option', () => {
instance.close();
expect(onClose).toHaveBeenCalledTimes(1);
expect(onClose).toHaveBeenCalledWith({ index: 0, url: 'https://img.yzcdn.cn/1.png' });
expect(onClose).toHaveBeenCalledWith({
index: 0,
url: 'https://img.yzcdn.cn/1.png',
});
});
test('onChange option', async done => {