mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: fecbade822f8163f12b7da441b567acb42e6f809 Co-authored-by: steipete <[email protected]> Co-authored-by: steipete <[email protected]> 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>;
|