diff options
| author | crupest <crupest@outlook.com> | 2019-03-11 23:21:44 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2019-03-11 23:21:44 +0800 |
| commit | eb6cef70b6f9d1060556592dbf474cf54a174902 (patch) | |
| tree | 1ab12c2308f59a7d2ce5220bff7949e5e3ca165f /Timeline/ClientApp/src/app/user/auth.guard.spec.ts | |
| parent | 988e07fce184b72c35020e4bde4079bdd305fb7c (diff) | |
| download | timeline-eb6cef70b6f9d1060556592dbf474cf54a174902.tar.gz timeline-eb6cef70b6f9d1060556592dbf474cf54a174902.tar.bz2 timeline-eb6cef70b6f9d1060556592dbf474cf54a174902.zip | |
Add auth guard.
Diffstat (limited to 'Timeline/ClientApp/src/app/user/auth.guard.spec.ts')
| -rw-r--r-- | Timeline/ClientApp/src/app/user/auth.guard.spec.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/user/auth.guard.spec.ts b/Timeline/ClientApp/src/app/user/auth.guard.spec.ts new file mode 100644 index 00000000..7ed05ee8 --- /dev/null +++ b/Timeline/ClientApp/src/app/user/auth.guard.spec.ts @@ -0,0 +1,15 @@ +import { TestBed, async, inject } from '@angular/core/testing'; + +import { AuthGuard } from './auth.guard'; + +describe('AuthGuard', () => { + beforeEach(() => { + TestBed.configureTestingModule({ + providers: [AuthGuard] + }); + }); + + it('should ...', inject([AuthGuard], (guard: AuthGuard) => { + expect(guard).toBeTruthy(); + })); +}); |
