diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/reducers.spec.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/reducers.spec.js b/test/reducers.spec.js index 23a8e91f89..236497a057 100644 --- a/test/reducers.spec.js +++ b/test/reducers.spec.js @@ -1,28 +1,13 @@ // @flow import { expect } from 'chai'; -import accountReducer from '../app/redux/account/reducers'; import connectionReducer from '../app/redux/connection/reducers'; import settingsReducer from '../app/redux/settings/reducers'; import { defaultServer } from '../app/config'; -import { BackendError } from '../app/lib/backend'; describe('reducers', () => { const previousState: any = {}; - it('should handle USER_LOGIN_CHANGE', () => { - const action = { - type: 'LOGIN_CHANGE', - newData: { - accountNumber: '1111', - status: 'failed', - error: new BackendError('INVALID_ACCOUNT') - } - }; - const test = Object.assign({}, action.newData); - expect(accountReducer(previousState, action)).to.deep.equal(test); - }); - it('should handle CONNECTION_CHANGE', () => { const action = { type: 'CONNECTION_CHANGE', |
