From 1e879c15e10f47105fdf4c3d0cf408d496f643c6 Mon Sep 17 00:00:00 2001 From: Filipe Brito Ferreira Date: Fri, 13 Oct 2023 11:37:20 +0100 Subject: [PATCH] fix: export VitestUtils interface --- 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