0

I am getting the above error while doing unit testing of a particular component. I am a beginner in Angular 6.

StaticInjectorError(DynamicTestModule)[UtilsService -> TitleCasePipe]: StaticInjectorError(Platform: core)[UtilsService -> TitleCasePipe]: NullInjectorError: No provider for TitleCasePipe!/

R. Richards
  • 24,603
  • 10
  • 64
  • 64
  • Re: "No provider for TitleCasePipe" is a pipe that is likely not imported and used by your DynamicTestModule. – Dane Brouwer Jan 13 '20 at 13:49
  • Was a missing import the cause of the issue? – Dane Brouwer Jan 13 '20 at 13:58
  • 1
    Does this answer your question? [Uncaught (in promise): Error: StaticInjectorError(AppModule)\[options\]](https://stackoverflow.com/questions/49776562/uncaught-in-promise-error-staticinjectorerrorappmoduleoptions) – Dane Brouwer Jan 13 '20 at 14:08

0 Answers0