Alain Boudard
1 min readMar 19, 2019

--

Elegant ways to test Observables !

I use it in my tests, event if there is no subscribe in the component and only an async pipe :

<div *ngFor=”let todo of todos$ | async” class=”todo”> {{todo.id}} </div>

Thanks Natanael :)

--

--

Alain Boudard
Alain Boudard

Written by Alain Boudard

Frontend dev / downhill rider / kitesurf fan

No responses yet