mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 15:40:52 +00:00
test: prefer enUS (#8144)
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
import { h } from 'vue';
|
||||
import Locale from '../src/locale';
|
||||
import enUS from '../src/locale/lang/en-US';
|
||||
import { mount, later } from '.';
|
||||
import { DemoLocaleMixin } from '../docs/site/demo-locale';
|
||||
|
||||
Locale.use('en-US', enUS);
|
||||
|
||||
const EmptyComponent = {
|
||||
render() {
|
||||
return h('div', [this.$slots.default()]);
|
||||
|
@@ -1,4 +1,8 @@
|
||||
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> {
|
||||
|
Reference in New Issue
Block a user