fix test NavBar

This commit is contained in:
Moriz Wahl 2021-11-19 15:44:09 +01:00
parent 75b31176c7
commit d8dfec9e7f

View File

@ -3,11 +3,19 @@ import NavBar from './NavBar.vue'
const localVue = global.localVue
const mocks = {
$store: {
state: {
openCreations: 1,
},
},
}
describe('NavBar', () => {
let wrapper
const Wrapper = () => {
return mount(NavBar, { localVue })
return mount(NavBar, { localVue, mocks })
}
describe('mount', () => {