diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2017-08-07 09:59:42 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2017-08-07 09:59:42 +0100 |
| commit | 84297f94afca3c5eb8cddeaf11ec0ec7862eeed1 (patch) | |
| tree | 3e00c7e1e7b314ea8f32b53ed64310ba440a23f2 /test | |
| parent | e13fe630fce123981e502939aafc3569a9412e0c (diff) | |
| parent | d4a94c7634ec8f396c81f3e3e65629ec37bff447 (diff) | |
| download | mullvadvpn-84297f94afca3c5eb8cddeaf11ec0ec7862eeed1.tar.xz mullvadvpn-84297f94afca3c5eb8cddeaf11ec0ec7862eeed1.zip | |
Merge branch 'remove-unused-deps'
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; } |
