diff --git a/webapp/store/auth.test.js b/webapp/store/auth.test.js index 325fcc40de..0da91b4612 100644 --- a/webapp/store/auth.test.js +++ b/webapp/store/auth.test.js @@ -1,5 +1,13 @@ import { getters, actions } from './auth.js' +jest.mock('universal-cookie', () => { + return jest.fn().mockImplementation(() => { + return { + get: (arg) => 'my-cookie-name', + } + }) +}) + let state let commit let dispatch