mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
11 lines
240 B
TypeScript
11 lines
240 B
TypeScript
// promisify setTimeout
|
|
export function later(delay = 0): Promise<void> {
|
|
return new Promise((resolve) => {
|
|
setTimeout(resolve, delay);
|
|
});
|
|
}
|
|
|
|
export * from './dom';
|
|
export * from './event';
|
|
export { mount } from '@vue/test-utils';
|