summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-07-28 08:26:07 +0200
committerErik Larkö <erik@mullvad.net>2017-08-08 09:30:57 +0200
commit490061c472765ea68feb9450e12a506019ea44b4 (patch)
treee753fa4cfefb8e0a5a3152e7a6282daaa31285ae /test
parent7d03193239188cab3b1a94e685da1ef94bdbc2d5 (diff)
downloadmullvadvpn-490061c472765ea68feb9450e12a506019ea44b4.tar.xz
mullvadvpn-490061c472765ea68feb9450e12a506019ea44b4.zip
Remove generic account action
Diffstat (limited to 'test')
-rw-r--r--test/reducers.spec.js15
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',