test: add missing module imports

This commit is contained in:
4gray committed 2022-08-24 17:28:13 +02:00
1 parent 5ceb17c9aa
commit 6117a13c9e
1 file changed
+6 -1
@@ -1,4 +1,5 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MatInputModule } from '@angular/material/input';
import { TranslatePipe } from '@ngx-translate/core';
@@ -13,7 +14,11 @@ describe('TextImportComponent', () => {
waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [TextImportComponent, MockPipe(TranslatePipe)],
imports: [MockModule(MatInputModule)],
imports: [
MockModule(MatInputModule),
MockModule(FormsModule),
MockModule(ReactiveFormsModule),
],
}).compileComponents();
})
);