diff options
Diffstat (limited to 'test/unit/specs/components/user_profile.spec.js')
| -rw-r--r-- | test/unit/specs/components/user_profile.spec.js | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/test/unit/specs/components/user_profile.spec.js b/test/unit/specs/components/user_profile.spec.js index 847481f3..1b6a47d7 100644 --- a/test/unit/specs/components/user_profile.spec.js +++ b/test/unit/specs/components/user_profile.spec.js @@ -18,7 +18,14 @@ const actions = { } const testGetters = { - findUser: state => getters.findUser(state.users) + findUser: state => getters.findUser(state.users), + mergedConfig: state => ({ + colors: '', + highlight: {}, + customTheme: { + colors: [] + } + }) } const localUser = { @@ -39,18 +46,12 @@ const externalProfileStore = new Vuex.Store({ getters: testGetters, state: { api: { + fetchers: {}, backendInteractor: backendInteractorService('') }, interface: { browserSupport: '' }, - config: { - colors: '', - highlight: {}, - customTheme: { - colors: [] - } - }, instance: { hideUserStats: true }, @@ -106,6 +107,7 @@ const localProfileStore = new Vuex.Store({ getters: testGetters, state: { api: { + fetchers: {}, backendInteractor: backendInteractorService('') }, interface: { |
