When testing a codebase in Angular Ivy, I ran into a bunch of test failures I
wasn't seeing before.
ExpressionChangedAfterItHasBeenCheckedErrors were being
thrown around. In debugging these failures, I found that many of them are the
results of side-effects in Observables and Observable
pipe operations. I
happened to describe these earlier in my piece on
Observables, Side-effects, and Subscriptions.
Consider this minimal reproduction:Read more →