We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a776dac commit f93bba6Copy full SHA for f93bba6
src/i18n/index.js
@@ -24,4 +24,5 @@ const language = window.navigator.userLanguage || window.navigator.language;
24
export default new VueI18n({
25
locale: language,
26
messages: locales,
27
+ fallbackLocale: "en"
28
});
tests/unit/specs/Landing.spec.js
@@ -7,8 +7,7 @@ import { shallowMount } from '@vue/test-utils'
7
// Utilities
8
import { createLocalVue, mount } from '@vue/test-utils'
9
10
-import { i18n } from '../testutils'
11
-
+import i18n from '../../../src/i18n/index';
12
13
describe('Landing.vue', () => {
14
const localVue = createLocalVue();
tests/unit/testutils.js
0 commit comments