Angular Jasmine Karma test when component has own module

Always remember that your TestBed.configureTestingModule() is there on your test to recreate your module the same way is created on the app. Let’s assume that you have a structure like following:  

In your.module you will import and declare all your three components and the pipe:

  Same way you should do in […]

Continue reading