From 9c15ff5eae88ac4dd8ac64aca2d232a5a230a247 Mon Sep 17 00:00:00 2001 From: Michel Selerin Date: Wed, 3 Oct 2018 15:40:19 +0200 Subject: [PATCH] test: NgxSecurityGuard unit-test --- projects/ngx-security/src/lib/ngx-security.guard.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/ngx-security/src/lib/ngx-security.guard.spec.ts b/projects/ngx-security/src/lib/ngx-security.guard.spec.ts index 5ad7e07..ab11c56 100644 --- a/projects/ngx-security/src/lib/ngx-security.guard.spec.ts +++ b/projects/ngx-security/src/lib/ngx-security.guard.spec.ts @@ -1,11 +1,12 @@ import { inject, TestBed } from '@angular/core/testing'; import { NgxSecurityGuard } from './ngx-security.guard'; +import { RouterTestingModule } from '@angular/router/testing'; describe('NgxSecurityGuard', () => { beforeEach(() => { TestBed.configureTestingModule({ - providers: [NgxSecurityGuard] + imports: [RouterTestingModule] }); });