test: demo snapshot uses enUS

This commit is contained in:
chenjiahan
2020-11-25 22:39:06 +08:00
parent 9708ab53f6
commit ea44d636ba
57 changed files with 991 additions and 2361 deletions

View File

@@ -1,8 +1,11 @@
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 as any).$slots.default()]);