I\'ve been tasked with writing tests for a chat app developed with Angular. Below is the snippet of Angular template code I\'m currently writing tests for:
In my case due to async loading I needed to use fixture.whenStable not just fixture.detectChanges e.g.
it('test description', async(async () => { await fixture.whenStable(); }));