|
|
@ -51,7 +51,7 @@ class DummyComponent {} |
|
|
describe('authGuard', () => { |
|
|
describe('authGuard', () => { |
|
|
let oAuthService: SpyObject<OAuthService>; |
|
|
let oAuthService: SpyObject<OAuthService>; |
|
|
let authService: SpyObject<AuthService>; |
|
|
let authService: SpyObject<AuthService>; |
|
|
let routes: Route[] = [ |
|
|
const routes: Route[] = [ |
|
|
{ |
|
|
{ |
|
|
path: 'dummy', |
|
|
path: 'dummy', |
|
|
canActivate: [abpOAuthGuard], |
|
|
canActivate: [abpOAuthGuard], |
|
|
|