#245: back button on login panel for users with multy accs. Added history service

This commit is contained in:
SleepWalker
2017-01-29 17:36:21 +02:00
parent a4fd1314c2
commit b2202f8831
7 changed files with 67 additions and 7 deletions

View File

@@ -81,4 +81,12 @@ describe('LoginState', () => {
return promise.catch(mock.verify.bind(mock));
});
});
describe('#goBack', () => {
it('should return to previous page', () => {
expectRun(mock, 'goBack', '/');
state.goBack(context);
});
});
});