fix failing tests
This commit is contained in:
+3
-2
@@ -1,8 +1,9 @@
|
||||
import { HttpClientTestingModule } from '@angular/common/http/testing';
|
||||
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { ReactiveFormsModule } from '@angular/forms';
|
||||
import { HandledarePickerFormComponent } from './handledare-picker-form.component';
|
||||
import { HandledarePickerFormModule } from '@msfa-shared/components/handledare-picker-form/handledare-picker-form.module';
|
||||
|
||||
describe('HandledarePickerFormComponent', () => {
|
||||
let component: HandledarePickerFormComponent;
|
||||
@@ -10,7 +11,7 @@ describe('HandledarePickerFormComponent', () => {
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ReactiveFormsModule, HttpClientTestingModule, FormsModule],
|
||||
imports: [ReactiveFormsModule, HttpClientTestingModule, HandledarePickerFormModule],
|
||||
declarations: [HandledarePickerFormComponent],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
||||
}).compileComponents();
|
||||
|
||||
+3
-2
@@ -1,7 +1,8 @@
|
||||
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { ReactiveFormsModule } from '@angular/forms';
|
||||
import { OrganizationPickerFormComponent } from './organization-picker-form.component';
|
||||
import { OrganizationPickerFormModule } from '@msfa-shared/components/organization-picker-form/organization-picker-form.module';
|
||||
|
||||
describe('OrganizationPickerFormComponent', () => {
|
||||
let component: OrganizationPickerFormComponent;
|
||||
@@ -9,7 +10,7 @@ describe('OrganizationPickerFormComponent', () => {
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ReactiveFormsModule, FormsModule],
|
||||
imports: [ReactiveFormsModule, OrganizationPickerFormModule],
|
||||
declarations: [OrganizationPickerFormComponent],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
||||
}).compileComponents();
|
||||
|
||||
Reference in New Issue
Block a user