|
|
|
@ -1,5 +1,4 @@ |
|
|
|
import { CoreTestingModule } from "@abp/ng.core/testing"; |
|
|
|
import { ThemeBasicTestingModule } from "@abp/ng.theme.basic/testing"; |
|
|
|
import { ThemeSharedTestingModule } from "@abp/ng.theme.shared/testing"; |
|
|
|
import { ComponentFixture, TestBed, waitForAsync } from "@angular/core/testing"; |
|
|
|
import { NgxValidateCoreModule } from "@ngx-validate/core"; |
|
|
|
@ -8,6 +7,7 @@ import { OAuthService } from 'angular-oauth2-oidc'; |
|
|
|
import { AuthService } from '@abp/ng.core'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
describe("HomeComponent", () => { |
|
|
|
let fixture: ComponentFixture<HomeComponent>; |
|
|
|
const mockOAuthService = jasmine.createSpyObj('OAuthService', ['hasValidAccessToken']) |
|
|
|
@ -19,7 +19,7 @@ describe("HomeComponent", () => { |
|
|
|
imports: [ |
|
|
|
CoreTestingModule.withConfig(), |
|
|
|
ThemeSharedTestingModule.withConfig(), |
|
|
|
ThemeBasicTestingModule.withConfig(), |
|
|
|
//ThemeLeptonXModule.withConfig(),
|
|
|
|
NgxValidateCoreModule, |
|
|
|
], |
|
|
|
providers: [ |
|
|
|
|