mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-09 19:04:33 -04:00
Create export of session timer for tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const timeoutPopup = require('../../app/assets/javascripts/timeoutPopup.js');
|
||||
const sessionTimerWrapper = require('../../app/assets/javascripts/timeoutPopup.js');
|
||||
|
||||
|
||||
describe('Test popup process', () => {
|
||||
@@ -12,6 +12,7 @@ describe('Test popup process', () => {
|
||||
|
||||
it('Test timers work', () => {
|
||||
jest.runAllTimers();
|
||||
sessionTimerWrapper();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user