(SOLVED) : nullinjectorerror: no provider for formbuilder!

nullinjectorerror: no provider for formbuilder! when you get the message No provider for formbuilder when trying to test a formBuilder , the solution is : => Import ReactiveFormsModule and FormsModule in the appModule nullinjectorerror: no provider for formbuilder! , nullinjectorerror: r3injectorerror(dynamictestmodule)[formbuilder -> formbuilder]: nullinjectorerror: no provider for formbuilder! , nullinjectorerror: no provider for formbuilder

En Lire Plus