DEV Community

Discussion on: TDD in Angular - Dependency Injection and Mocking

Collapse
layzee profile image
Lars Gyrup Brink Nielsen • Edited

The first call to ComponentFixture#detectChanges runs ngOnChanges and ngOnInit.

Collapse
qarunqb profile image
Bearded JavaScripter Author

Thank you for the correction! Will edit this now