MCPcopy
hub / github.com/angular/angular / useAutoTick

Function useAutoTick

packages/private/testing/src/utils.ts:204–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202 * ```
203 */
204export function useAutoTick() {
205 beforeEach(() => {
206 jasmine.clock().install();
207 jasmine.clock().autoTick();
208 });
209 afterEach(() => {
210 jasmine.clock().uninstall();
211 });
212}
213
214export interface WaitForOptions {
215 timeout?: number;

Calls 1

beforeEachFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…