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 | 435c2b4e68c06bc2d03b209a3dba0b8918f3bf8c (patch) | |
tree | d2e6c416c4ab972097608e391ff293bb758fbbdd /Timeline/ClientApp/src/app/user/auth.guard.spec.ts | |
parent | 4535d1fd30eb02b3fe60718235a0725e3b30049e (diff) | |
download | timeline-435c2b4e68c06bc2d03b209a3dba0b8918f3bf8c.tar.gz timeline-435c2b4e68c06bc2d03b209a3dba0b8918f3bf8c.tar.bz2 timeline-435c2b4e68c06bc2d03b209a3dba0b8918f3bf8c.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(); + })); +}); |