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