summaryrefslogtreecommitdiffhomepage
path: root/test/mocks
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocks')
-rw-r--r--test/mocks/redux.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/mocks/redux.js b/test/mocks/redux.js
index 71dafc7f1f..5f0562c035 100644
--- a/test/mocks/redux.js
+++ b/test/mocks/redux.js
@@ -1,27 +1,8 @@
import configureMockStore from 'redux-mock-store';
import thunk from 'redux-thunk';
-import { defaultServer } from '../../app/config';
const middlewares = [ thunk ];
export const mockStore = configureMockStore(middlewares);
-export const mockState = () => {
- return {
- account: {
- accountToken: null,
- status: 'none',
- error: null
- },
- connection: {
- status: 'disconnected',
- serverAddress: null,
- clientIp: null
- },
- settings: {
- autoSecure: false,
- preferredServer: defaultServer
- }
- };
-};
export const filterMinorActions = (actions) => {
return actions.filter((action) => {