diff --git a/webapp/pages/index.spec.js b/webapp/pages/index.spec.js index 0433957bb..8ffa8fac1 100644 --- a/webapp/pages/index.spec.js +++ b/webapp/pages/index.spec.js @@ -29,6 +29,7 @@ describe('PostIndex', () => { beforeEach(() => { mutations = { 'posts/SELECT_ORDER': jest.fn(), + 'posts/SET_CURRENT_POSTS': jest.fn(), } store = new Vuex.Store({ getters: { @@ -53,6 +54,7 @@ describe('PostIndex', () => { 'auth/user': () => { return { id: 'u23' } }, + 'posts/currentPosts': () => jest.fn(), }, mutations, })