Commit Graph

11 Commits

Author SHA1 Message Date
Carlo Costino
57f2ee798b Made several adjustments for session timer tests
- Turned the timeoutPopup module into a proper module that is exported
- Pulled out the setInterval inner function to be its own method
- Adjusted the session timer tests to have additional setup and teardown pieces
- Added a few tests

There may be some additional adjustments needed, e.g., we may not have to expose all of the methods, but then we have to figure out how to make them accessible in the tests another way.

h/t @A-Shumway42 for pairing with me to review all of these changes and approach!

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-09-28 15:31:08 -04:00
Andrew Shumway
d7e7a082cd Put timer back to 25 minute kickoff 2023-09-27 11:37:43 -06:00
Andrew Shumway
25190117dc Remove attempts to export module 2023-09-27 11:24:46 -06:00
Andrew Shumway
d856e39484 Create export of session timer for tests 2023-09-14 08:56:46 -06:00
Andrew Shumway
f257a38084 Refactor code/initial tests 2023-09-13 12:44:40 -06:00
Jonathan Bobel
c6e356c315 Changed a few things for accessibility 2023-09-12 15:17:06 -04:00
Andrew Shumway
42cd3b4a0e Moved html to footer 2023-09-12 11:30:27 -06:00
Andrew Shumway
92953676c4 Added user authentication check to timer 2023-09-08 13:51:12 -06:00
Jonathan Bobel
1507199e6b Altered the modal a bit to use USWDS styling and the dialog element - still needs some cleanup but passing it back off to Andrew 2023-09-07 16:41:55 -04:00
Andrew Shumway
8712d7d822 Functionality for session timer display 2023-09-07 08:38:41 -06:00
Andrew Shumway
9d16738c83 Add initial file for popup 2023-08-16 10:55:24 -06:00