flushMicrotasks

From Get docs
< @angular/core‎ | testingAngular/docs/8/api/core/testing/flushmicrotasks


flushMicrotasks

function

Flush any pending microtasks.

flushMicrotasks(): void

Parameters

There are no parameters.

Returns

void


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/core/testing/flushMicrotasks