Skip to content

Commit

Permalink
fix test in security due to updated mocks;
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Nov 29, 2019
1 parent 268cc45 commit a3a890a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe('Session Timeout', () => {
});

test(`starts and does not initialize on an anonymous path`, async () => {
http.anonymousPaths.register(window.location.pathname);
http.anonymousPaths.isAnonymous.mockReturnValue(true);
await sessionTimeout.start();
// eslint-disable-next-line dot-notation
expect(sessionTimeout['channel']).toBeUndefined();
Expand Down

0 comments on commit a3a890a

Please sign in to comment.