diff --git a/apps/dafa-web/src/app/pages/administration/pages/create-account/create-account.component.spec.ts b/apps/dafa-web/src/app/pages/administration/pages/create-account/create-account.component.spec.ts index 9c1c597..5a164af 100644 --- a/apps/dafa-web/src/app/pages/administration/pages/create-account/create-account.component.spec.ts +++ b/apps/dafa-web/src/app/pages/administration/pages/create-account/create-account.component.spec.ts @@ -1,4 +1,12 @@ +import { DigiNgFormCheckboxModule } from '@af/digi-ng/_form/form-checkbox'; +import { DigiNgFormDatepickerModule } from '@af/digi-ng/_form/form-datepicker'; +import { DigiNgFormInputModule } from '@af/digi-ng/_form/form-input'; +import { DigiNgFormRadiobuttonGroupModule } from '@af/digi-ng/_form/form-radiobutton-group'; +import { DigiNgFormSelectModule } from '@af/digi-ng/_form/form-select'; +import { DigiNgPopoverModule } from '@af/digi-ng/_popover/popover'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; +import { ReactiveFormsModule } from '@angular/forms'; import { RouterTestingModule } from '@angular/router/testing'; import { CreateAccountComponent } from './create-account.component'; @@ -10,7 +18,17 @@ describe('CreateAccountComponent', () => { waitForAsync(() => { TestBed.configureTestingModule({ declarations: [CreateAccountComponent], - imports: [RouterTestingModule], + imports: [ + RouterTestingModule, + HttpClientTestingModule, + ReactiveFormsModule, + DigiNgFormInputModule, + DigiNgFormRadiobuttonGroupModule, + DigiNgFormDatepickerModule, + DigiNgFormSelectModule, + DigiNgPopoverModule, + DigiNgFormCheckboxModule, + ], }).compileComponents(); }) ); diff --git a/apps/dafa-web/src/app/pages/administration/pages/employee-card/employee-card.component.spec.ts b/apps/dafa-web/src/app/pages/administration/pages/employee-card/employee-card.component.spec.ts index 5597a54..4899718 100644 --- a/apps/dafa-web/src/app/pages/administration/pages/employee-card/employee-card.component.spec.ts +++ b/apps/dafa-web/src/app/pages/administration/pages/employee-card/employee-card.component.spec.ts @@ -1,3 +1,4 @@ +import { HttpClientTestingModule } from '@angular/common/http/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { EmployeeCardComponent } from './employee-card.component'; @@ -10,7 +11,7 @@ describe('EmployeeCardComponent', () => { waitForAsync(() => { TestBed.configureTestingModule({ declarations: [EmployeeCardComponent], - imports: [RouterTestingModule], + imports: [RouterTestingModule, HttpClientTestingModule], }).compileComponents(); }) ); diff --git a/apps/dafa-web/src/app/pages/administration/pages/employees/employees.component.spec.ts b/apps/dafa-web/src/app/pages/administration/pages/employees/employees.component.spec.ts index 7bdbd19..64aad68 100644 --- a/apps/dafa-web/src/app/pages/administration/pages/employees/employees.component.spec.ts +++ b/apps/dafa-web/src/app/pages/administration/pages/employees/employees.component.spec.ts @@ -1,3 +1,4 @@ +import { HttpClientTestingModule } from '@angular/common/http/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { EmployeesComponent } from './employees.component'; @@ -10,7 +11,7 @@ describe('EmployeesComponent', () => { waitForAsync(() => { TestBed.configureTestingModule({ declarations: [EmployeesComponent], - imports: [RouterTestingModule], + imports: [RouterTestingModule, HttpClientTestingModule], }).compileComponents(); }) ); diff --git a/apps/dafa-web/src/app/pages/participants/participants.component.spec.ts b/apps/dafa-web/src/app/pages/participants/participants.component.spec.ts index 4b3016f..fa23f03 100644 --- a/apps/dafa-web/src/app/pages/participants/participants.component.spec.ts +++ b/apps/dafa-web/src/app/pages/participants/participants.component.spec.ts @@ -1,5 +1,5 @@ import { DigiNgSkeletonBaseModule } from '@af/digi-ng/_skeleton/skeleton-base'; -import { HttpClientModule } from '@angular/common/http'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { ParticipantsListModule } from './components/participants-list/participants-list.module'; @@ -13,7 +13,7 @@ describe('ParticipantsComponent', () => { waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ParticipantsComponent], - imports: [RouterTestingModule, HttpClientModule, DigiNgSkeletonBaseModule, ParticipantsListModule], + imports: [RouterTestingModule, HttpClientTestingModule, DigiNgSkeletonBaseModule, ParticipantsListModule], }).compileComponents(); }) ); diff --git a/tools/generators/.gitkeep b/tools/generators/.gitkeep deleted file mode 100644 index e69de29..0000000