diff --git a/src/App.test.js b/src/App.test.js index 3650059..ad1a080 100644 --- a/src/App.test.js +++ b/src/App.test.js @@ -5,8 +5,9 @@ import { MemoryRouter } from 'react-router-dom'; import * as getEnvironmentVariableModule from './utils/getEnvironmentVariables'; const localStorageMock = { - getItem: jest.fn(), + getItem: jest.fn().mockReturnValue(null), setItem: jest.fn(), + removeItem: jest.fn(), clear: jest.fn() }; global.localStorage = localStorageMock;