diff --git a/packages/vitest/src/integrations/vi.ts b/packages/vitest/src/integrations/vi.ts index af014afbf907..2206bd7561d7 100644 --- a/packages/vitest/src/integrations/vi.ts +++ b/packages/vitest/src/integrations/vi.ts @@ -11,7 +11,7 @@ import type { EnhancedSpy, MaybeMocked, MaybeMockedDeep, MaybePartiallyMocked, M import { fn, isMockFunction, spies, spyOn } from './spy' import { waitFor, waitUntil } from './wait' -interface VitestUtils { +export interface VitestUtils { isFakeTimers(): boolean useFakeTimers(config?: FakeTimerInstallOpts): this useRealTimers(): this