diff options
| -rw-r--r-- | test/routing.spec.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/routing.spec.js b/test/routing.spec.js index 66fe3e72e3..3e1f80be3c 100644 --- a/test/routing.spec.js +++ b/test/routing.spec.js @@ -34,22 +34,4 @@ describe('routing', function() { expect(storeActions).deep.equal(expectedActions); }, 0); }); - - it('should redirect to connect screen on login', (done) => { - const expectedActions = [ - { type: '@@router/CALL_HISTORY_METHOD', payload: { method: 'replace', args: [ '/connect' ] } } - ]; - - const store = mockStore(mockState()); - const backend = new Backend(newMockIpc()); - mapBackendEventsToRouter(backend, store); - - store.subscribe(() => { - const storeActions = filterMinorActions(store.getActions()); - expect(storeActions).deep.equal(expectedActions); - done(); - }); - store.dispatch(accountActions.login(backend, '1')); - }); - }); |
