mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-30 01:06:11 +00:00
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: fecbade822
Co-authored-by: steipete <58493+steipete@users.noreply.github.com>
Co-authored-by: steipete <58493+steipete@users.noreply.github.com>
Reviewed-by: @steipete
7 lines
330 B
TypeScript
7 lines
330 B
TypeScript
// Centralized Vitest mock type for harness modules under `src/`.
|
|
// Using an explicit named type avoids exporting inferred `vi.fn()` types that can trip TS2742.
|
|
//
|
|
// oxlint-disable-next-line typescript/no-explicit-any
|
|
export type MockFn<T extends (...args: any[]) => any = (...args: any[]) => any> =
|
|
import("vitest").Mock<T>;
|