Sha256: b4ac0ae1e7ed09d2ab8496d65c04643742a1811c6c5f34d9f9504a3868bc02e8

Contents?: true

Size: 1.01 KB

Versions: 6

Compression:

Stored size: 1.01 KB

Contents

/**
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
import { StackTraceConfig } from 'jest-message-util';
export default class FakeTimers {
    private _clock;
    private _config;
    private _fakingTime;
    private _global;
    private _fakeTimers;
    private _maxLoops;
    constructor({ global, config, maxLoops, }: {
        global: typeof globalThis;
        config: StackTraceConfig;
        maxLoops?: number;
    });
    clearAllTimers(): void;
    dispose(): void;
    runAllTimers(): void;
    runOnlyPendingTimers(): void;
    advanceTimersToNextTimer(steps?: number): void;
    advanceTimersByTime(msToRun: number): void;
    runAllTicks(): void;
    useRealTimers(): void;
    useFakeTimers(): void;
    reset(): void;
    setSystemTime(now?: number | Date): void;
    getRealSystemTime(): number;
    getTimerCount(): number;
    private _checkFakeTimers;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-0.27.1 packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts
decidim-0.26.4 packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts
decidim-0.27.0 packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts
decidim-0.26.3 packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts
decidim-0.27.0.rc2 packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts
decidim-0.27.0.rc1 packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts