[arvados] updated: 2.7.0-6421-g73d6304270
git repository hosting
git at public.arvados.org
Fri Apr 19 14:48:32 UTC 2024
Summary of changes:
.../workbench2/src/views-components/auto-logout/auto-logout.test.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 73d6304270e77b662bff5206a8a0667c02361ec7 (commit)
from bd6fca807f1795cb4be9119e3655060d032a8f92 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 73d6304270e77b662bff5206a8a0667c02361ec7
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Fri Apr 19 10:48:28 2024 -0400
21037: fixed timers in auto-logout spec Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/services/workbench2/src/views-components/auto-logout/auto-logout.test.tsx b/services/workbench2/src/views-components/auto-logout/auto-logout.test.tsx
index c9b9e2b83f..3be400f7c5 100644
--- a/services/workbench2/src/views-components/auto-logout/auto-logout.test.tsx
+++ b/services/workbench2/src/views-components/auto-logout/auto-logout.test.tsx
@@ -14,7 +14,6 @@ describe('<AutoLogoutComponent />', () => {
const sessionIdleTimeout = 300;
const lastWarningDuration = 60;
const eventListeners = {};
- jest.useFakeTimers();
beforeAll(() => {
window.addEventListener = jest.fn((event, cb) => {
@@ -23,6 +22,7 @@ describe('<AutoLogoutComponent />', () => {
});
beforeEach(() => {
+ jest.useFakeTimers();
props = {
sessionIdleTimeout: sessionIdleTimeout,
lastWarningDuration: lastWarningDuration,
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list