vant/test/index.ts
2021-02-11 12:19:21 +08:00

13 lines
260 B
TypeScript

import './plugin';
// 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';