I am converting a purchased, third-party template into an Angular 5 app, and just ran into an error. I am very new to Angular 5 (I know AngularJS well however) and don\'t un
I had this issue in Angular(Jasmin) Test cases.
I have accidentally added angular form modules in the import of my Unit Test at beforeEach, one is FormModule (by angular) and other one is Custom FormModule.
I need only Custom FormModule, once I removed the FormModule (by angular) the issue resolved
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [CustomTranslateModule.forRoot(),
CustomRightPanelModule,
CustomListModule,
CustomInputTextModule,
CustomMasterPageModule,
CustomFormModule,
FormModule, // this is unnecessary
.....................
.....................