From cad0943d1f760fd059d0f77818f4992c7c861421 Mon Sep 17 00:00:00 2001 From: Sean Sylver Date: Mon, 9 Dec 2024 15:34:20 -0800 Subject: [PATCH] revert last change --- .../main/angular/src/app/services/util/prev-auth-guard.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/wfprev-war/src/main/angular/src/app/services/util/prev-auth-guard.spec.ts b/client/wfprev-war/src/main/angular/src/app/services/util/prev-auth-guard.spec.ts index 5b7fc1ae..8ae021a6 100644 --- a/client/wfprev-war/src/main/angular/src/app/services/util/prev-auth-guard.spec.ts +++ b/client/wfprev-war/src/main/angular/src/app/services/util/prev-auth-guard.spec.ts @@ -204,6 +204,7 @@ describe('PrevAuthGuard', () => { guard.canActivate(route, state); + tick(); flush(); // Flush any remaining async operations expect(guard.redirectToErrorPage).toHaveBeenCalled(); @@ -225,6 +226,7 @@ describe('PrevAuthGuard', () => { guard.canActivate(route, state).subscribe(); + tick(); flush(); // Flush any remaining async operations expect(guard.redirectToErrorPage).toHaveBeenCalled(); @@ -245,6 +247,7 @@ describe('PrevAuthGuard', () => { guard.canActivate(route, state).subscribe(); + tick(); flush(); // Flush any remaining async operations expect(guard.redirectToErrorPage).toHaveBeenCalled();