aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/user/auth.guard.spec.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-11 23:21:44 +0800
committercrupest <crupest@outlook.com>2019-03-11 23:21:44 +0800
commiteb6cef70b6f9d1060556592dbf474cf54a174902 (patch)
tree1ab12c2308f59a7d2ce5220bff7949e5e3ca165f /Timeline/ClientApp/src/app/user/auth.guard.spec.ts
parent988e07fce184b72c35020e4bde4079bdd305fb7c (diff)
downloadtimeline-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.ts15
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();
+ }));
+});