Skip to content

Commit

Permalink
refs #209 Fix mock store for Preferences/General
Browse files Browse the repository at this point in the history
  • Loading branch information
h3poteto committed Mar 10, 2019
1 parent d95dbfa commit 2d19f6b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion spec/integration/store/Preferences/General.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ const initStore = () => {
}
}

const app = {
namespaced: true,
actions: {
loadPreferences (_) {
return true
}
}
}

describe('Preferences/General', () => {
let store
let localVue
Expand All @@ -37,7 +46,8 @@ describe('Preferences/General', () => {
localVue.use(Vuex)
store = new Vuex.Store({
modules: {
Preferences: initStore()
Preferences: initStore(),
App: app
}
})
})
Expand Down

0 comments on commit 2d19f6b

Please sign in to comment.