mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 10:20:19 +08:00
test: attach demo to body (#11246)
This commit is contained in:
parent
9b513311c2
commit
80270138e1
@ -28,6 +28,7 @@ export function snapshotDemo(Demo: any, option: any = {}) {
|
|||||||
'demo-block': EmptyComponent,
|
'demo-block': EmptyComponent,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
attachTo: document.body,
|
||||||
});
|
});
|
||||||
|
|
||||||
await later();
|
await later();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user