vant/test/index.ts
2020-08-22 10:59:22 +08:00

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';