aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/auth-guard.service.spec.ts
diff options
context:
space:
mode:
authorDanijel Andjelkovic <adanijel99@gmail.com>2022-03-05 19:46:16 +0100
committerDanijel Andjelkovic <adanijel99@gmail.com>2022-03-05 19:46:16 +0100
commit9b925712cbdedacdf8af947e929ca3975b56e3fa (patch)
tree5a1c230a2c9484dd610df74b09c861fb20b2d853 /frontend/src/app/auth-guard.service.spec.ts
parentcfadf0c8edfc66e54df8186d98b968c5682a3356 (diff)
Added auth and auth guard services, included ngx-cookie-service and angular-jwt. Made a configuration file.
Diffstat (limited to 'frontend/src/app/auth-guard.service.spec.ts')
-rw-r--r--frontend/src/app/auth-guard.service.spec.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/frontend/src/app/auth-guard.service.spec.ts b/frontend/src/app/auth-guard.service.spec.ts
new file mode 100644
index 00000000..35afd377
--- /dev/null
+++ b/frontend/src/app/auth-guard.service.spec.ts
@@ -0,0 +1,16 @@
+import { TestBed } from '@angular/core/testing';
+
+import { AuthGuardService } from './auth-guard.service';
+
+describe('AuthGuardService', () => {
+ let service: AuthGuardService;
+
+ beforeEach(() => {
+ TestBed.configureTestingModule({});
+ service = TestBed.inject(AuthGuardService);
+ });
+
+ it('should be created', () => {
+ expect(service).toBeTruthy();
+ });
+});