mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
17 lines
369 B
TypeScript
17 lines
369 B
TypeScript
import './plugin';
|
|
import Locale from '../src/locale';
|
|
import enUS from '../src/locale/lang/en-US';
|
|
|
|
Locale.use('en-US', enUS);
|
|
|
|
// 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';
|