From 6d41f7068ab2d856bb05071a356327c4de6d3892 Mon Sep 17 00:00:00 2001 From: Mathis Hofer Date: Mon, 16 Dec 2024 13:21:50 +0100 Subject: [PATCH] Revert "Fix auth guard spec" This reverts commit 23ec8f54c9bc16394c2ba22b41bf9c7742fc1e6d. --- src/app/shared/guards/auth.guard.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/guards/auth.guard.spec.ts b/src/app/shared/guards/auth.guard.spec.ts index f757ca72d..acad97a64 100644 --- a/src/app/shared/guards/auth.guard.spec.ts +++ b/src/app/shared/guards/auth.guard.spec.ts @@ -30,7 +30,6 @@ describe("authGuard", () => { RouterModule.forRoot([ { path: "unauthenticated", component: DummyComponent }, ]), - DummyComponent, ], providers: [ { @@ -41,6 +40,7 @@ describe("authGuard", () => { }, }, ], + declarations: [DummyComponent], }), ); router = TestBed.inject(Router);