diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/mocks/redux.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/mocks/redux.js b/test/mocks/redux.js index 070c76c9b2..9d4759b1d3 100644 --- a/test/mocks/redux.js +++ b/test/mocks/redux.js @@ -2,10 +2,6 @@ import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import { defaultServer } from '../../app/config'; -// fetch is absent in node environment -// this will automatically import it into global scope -import fetch from 'isomorphic-fetch'; // eslint-disable-line no-unused-vars - const middlewares = [ thunk ]; export const mockStore = configureMockStore(middlewares); export const mockState = () => { @@ -36,7 +32,7 @@ export const filterMinorActions = (actions) => { if(action.type === 'CONNECTION_CHANGE' && action.payload.isOnline) { return false; } - + if(action.type === 'USER_LOGIN_CHANGE' && action.payload.city) { return false; } |
