Fix client-only warning

This commit is contained in:
roschaefer 2020-02-20 15:47:47 +01:00
parent 9241305d43
commit 9b2175786e

View File

@ -1,10 +1,12 @@
import { mount } from '@vue/test-utils'
import { config, mount } from '@vue/test-utils'
import LocaleSwitch from './LocaleSwitch.vue'
import Vuex from 'vuex'
const localVue = global.localVue
config.stubs['client-only'] = '<span><slot /></span>'
describe('LocaleSwitch.vue', () => {
let wrapper, mocks, computed, deutschLanguageItem, getters