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:
494 bytes
|
Rev | Line | |
---|
[baf4cc4] | 1 | import { TestBed } from '@angular/core/testing';
|
---|
| 2 | import { CanActivateFn } from '@angular/router';
|
---|
| 3 |
|
---|
| 4 | import { authCanmatchGuard } from './auth-canmatch.guard';
|
---|
| 5 |
|
---|
| 6 | describe('authCanmatchGuard', () => {
|
---|
| 7 | const executeGuard: CanActivateFn = (...guardParameters) =>
|
---|
| 8 | TestBed.runInInjectionContext(() => authCanmatchGuard(...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.