Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wdoug committed Feb 5, 2018
1 parent b954b7a commit 525ea86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 525ea86

Please sign in to comment.