API > @angular/core > @angular/core/testing mode_edit code flushMicrotasks function Flush any pending microtasks. flushMicrotasks(): void flushMicrotasks(): void Parameters There are no parameters. Returns void