Skip to content

Commit

Permalink
fix: export VitestUtils interface (#4301)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbritoferreira authored Oct 13, 2023
1 parent cd03cb5 commit b143985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/integrations/vi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b143985

Please sign in to comment.