MCPcopy
hub / github.com/angular/angular / flush

Function flush

packages/core/testing/src/fake_async.ts:162–164  ·  view source on GitHub ↗
(maxTurns?: number)

Source from the content-addressed store, hash-verified

160 * @publicApi
161 */
162export function flush(maxTurns?: number): number {
163 return withFakeAsyncTestModule((m) => m.flush(maxTurns));
164}
165
166/**
167 * IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner

Callers 6

fake_async_spec.tsFile · 0.90
commonTestsFunction · 0.90
defer_spec.tsFile · 0.90
upgrade.spec.tsFile · 0.90

Calls 2

withFakeAsyncTestModuleFunction · 0.85
flushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…