chore: split function call (#8424)

This commit is contained in:
neverland
2021-03-29 17:47:24 +08:00
committed by GitHub
parent eec186ac19
commit 62eda87c99
13 changed files with 157 additions and 140 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import { later } from '../../../test';
import Toast from '../index';
import ToastComponent from '../Toast';
import { createApp } from 'vue';
import { later } from '../../../test';
import { Toast } from '../function-call';
import ToastComponent from '../Toast';
test('toast disappeared after duration', async () => {
const onClose = jest.fn();