chore: demo spec uses ts (#8197)

This commit is contained in:
neverland
2021-02-22 20:53:07 +08:00
committed by GitHub
parent f4698ebf44
commit f0f89f1c4c
191 changed files with 254 additions and 256 deletions
@@ -1,8 +1,8 @@
import Demo from '../demo';
import Demo from '../demo/index.vue';
import { snapshotDemo } from '../../../test/demo';
import { mockGetBoundingClientRect } from '../../../test';
let restore;
let restore: () => void;
snapshotDemo(Demo, {
beforeTest: () => {