I\'m working on a small test app to learn Angular 2 and unit testing in Angular 2 a bit better. Coming from a react - Jest background; it feels weird to include all componen
If you have a few components grouped in one module you can import module to test instead of declaring each component.
beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [AppComponent], imports: [SomeModule] }).compileComponents(); }));