From b1439852012f0e31507d5fcafee7c1f508105018 Mon Sep 17 00:00:00 2001 From: Filipe Brito Ferreira Date: Fri, 13 Oct 2023 16:17:20 +0100 Subject: [PATCH] fix: export VitestUtils interface (#4301) --- packages/vitest/src/integrations/vi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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