@angular/core/testing

tick

function

Simulates the asynchronous passage of time for the timers in the fakeAsync zone.

tick(
millis?: number,
tickOptions?: { processNewMacroTasksSynchronously: boolean; }
): void;
Jump to details