Ivan - OS-48 - Add UnitTest and necessary mocks for login/logout logic [skip ci]

This commit is contained in:
ivan 2016-07-08 03:56:52 -03:00
parent e401edef10
commit 64d2a9d70a
2 changed files with 0 additions and 5 deletions

View File

@ -9,7 +9,6 @@ describe('App component', function () {
let app; let app;
beforeEach(function () { beforeEach(function () {
console.log(App);
app = TestUtils.renderIntoDocument( app = TestUtils.renderIntoDocument(
<App><span>MOCK_CHILD</span></App> <App><span>MOCK_CHILD</span></App>
); );

View File

@ -20,9 +20,5 @@ module.exports = {
onFail && onFail(result); onFail && onFail(result);
} }
}); });
},
setConfig: function (userId, token) {
SessionStorage.setItem('userId', userId);
SessionStorage.setItem('token', token);
} }
}; };