jeudi 24 août 2017

I can't get FormBuilder from TestBed with FormsModule, ReactiveFormsModule imported

TestBed.configureTestingModule({
    imports: [
        FormsModule,
        ReactiveFormsModule,
    ]
});

TestBed.get(FormBuilder);

What do I need to do? Or I should just use new operator to create one?

Aucun commentaire:

Enregistrer un commentaire