We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58469b5 commit 6a2aa94Copy full SHA for 6a2aa94
src/app/auth/_guards/auth.guard.spec.ts
@@ -1,11 +1,10 @@
1
import { TestBed } from '@angular/core/testing';
2
import { CanMatchFn } from '@angular/router';
3
-
4
-import { authGuard } from './auth.guard';
+import { authAdminGuard } from './authAdminGuard';
5
6
describe('authGuard', () => {
7
- const executeGuard: CanMatchFn = (...guardParameters) =>
8
- TestBed.runInInjectionContext(() => authGuard(...guardParameters));
+ const executeGuard: CanMatchFn = (...guardParameters) =>
+ TestBed.runInInjectionContext(() => authAdminGuard(...guardParameters));
9
10
beforeEach(() => {
11
TestBed.configureTestingModule({});
0 commit comments