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);