The Wayback Machine - https://web.archive.org/web/20240920155618/https://angular.dev/api/core/testing/fakeAsync/
@angular/core/testing

fakeAsync

function

Wraps a function to be executed in the fakeAsync zone:

  • Microtasks are manually executed by calling flushMicrotasks().
  • Timers are synchronous; tick() simulates the asynchronous passage of time.
  
    fakeAsync(  fn: Function,  options?: { flush?: boolean; }): (...args: any[]) => any;
  
  
Jump to details
HTTPS · web.archive.org
← Home