Files
beenpad/node_modules/@vitest/mocker/dist/automock.d.ts
2025-12-08 10:52:05 -05:00

13 lines
354 B
TypeScript

import MagicString from 'magic-string';
interface AutomockOptions {
/**
* @default "__vitest_mocker__"
*/
globalThisAccessor?: string;
}
declare function automockModule(code: string, mockType: "automock" | "autospy", parse: (code: string) => any, options?: AutomockOptions): MagicString;
export { automockModule };
export type { AutomockOptions };