Skip to content

Commit 6a2aa94

Browse files
fix for build
1 parent 58469b5 commit 6a2aa94

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/app/auth/_guards/auth.guard.spec.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import { TestBed } from '@angular/core/testing';
22
import { CanMatchFn } from '@angular/router';
3-
4-
import { authGuard } from './auth.guard';
3+
import { authAdminGuard } from './authAdminGuard';
54

65
describe('authGuard', () => {
7-
const executeGuard: CanMatchFn = (...guardParameters) =>
8-
TestBed.runInInjectionContext(() => authGuard(...guardParameters));
6+
const executeGuard: CanMatchFn = (...guardParameters) =>
7+
TestBed.runInInjectionContext(() => authAdminGuard(...guardParameters));
98

109
beforeEach(() => {
1110
TestBed.configureTestingModule({});

0 commit comments

Comments
 (0)