mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
Remove undef variable.
This commit is contained in:
parent
2e79dbc310
commit
29a94e45e8
@ -16,12 +16,14 @@ describe('Editor.vue', () => {
|
||||
let mocks
|
||||
|
||||
const Wrapper = () => {
|
||||
const store = new Vuex.Store({ getters: {
|
||||
'auth/user': () => {
|
||||
return { id: 'u343', name: deleteAccountName }
|
||||
const store = new Vuex.Store({
|
||||
getters: {
|
||||
'auth/user': () => {
|
||||
return { id: 'u343', name: 'Max Mustermann' }
|
||||
},
|
||||
'auth/isAdmin': () => false,
|
||||
},
|
||||
'auth/isAdmin': () => false,
|
||||
}})
|
||||
})
|
||||
return (wrapper = mount(Editor, {
|
||||
mocks,
|
||||
propsData,
|
||||
@ -30,7 +32,7 @@ describe('Editor.vue', () => {
|
||||
stubs: {
|
||||
transition: false,
|
||||
},
|
||||
store
|
||||
store,
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user