Skip to content

Commit

Permalink
revert last change
Browse files Browse the repository at this point in the history
  • Loading branch information
ssylver93 committed Dec 9, 2024
1 parent 2c7041f commit cad0943
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ describe('PrevAuthGuard', () => {

guard.canActivate(route, state);

tick();
flush(); // Flush any remaining async operations

expect(guard.redirectToErrorPage).toHaveBeenCalled();
Expand All @@ -225,6 +226,7 @@ describe('PrevAuthGuard', () => {

guard.canActivate(route, state).subscribe();

tick();
flush(); // Flush any remaining async operations

expect(guard.redirectToErrorPage).toHaveBeenCalled();
Expand All @@ -245,6 +247,7 @@ describe('PrevAuthGuard', () => {

guard.canActivate(route, state).subscribe();

tick();
flush(); // Flush any remaining async operations

expect(guard.redirectToErrorPage).toHaveBeenCalled();
Expand Down

0 comments on commit cad0943

Please sign in to comment.