Last change
on this file since dedbf60 was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 3 months ago |
split group project and individual project into two separate folders
|
-
Property mode
set to
100644
|
File size:
461 bytes
|
Line | |
---|
1 | import { TestBed } from '@angular/core/testing';
|
---|
2 | import { CanActivateFn } from '@angular/router';
|
---|
3 |
|
---|
4 | import { authGuard } from './auth.guard';
|
---|
5 |
|
---|
6 | describe('authGuard', () => {
|
---|
7 | const executeGuard: CanActivateFn = (...guardParameters) =>
|
---|
8 | TestBed.runInInjectionContext(() => authGuard(...guardParameters));
|
---|
9 |
|
---|
10 | beforeEach(() => {
|
---|
11 | TestBed.configureTestingModule({});
|
---|
12 | });
|
---|
13 |
|
---|
14 | it('should be created', () => {
|
---|
15 | expect(executeGuard).toBeTruthy();
|
---|
16 | });
|
---|
17 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.