From 435c2b4e68c06bc2d03b209a3dba0b8918f3bf8c Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 11 Mar 2019 23:21:44 +0800 Subject: Add auth guard. --- Timeline/ClientApp/src/app/user/auth.guard.spec.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Timeline/ClientApp/src/app/user/auth.guard.spec.ts (limited to 'Timeline/ClientApp/src/app/user/auth.guard.spec.ts') 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(); + })); +}); -- cgit v1.2.3