mirror of
https://github.com/soconnor0919/beenpad.git
synced 2026-02-05 08:16:37 -05:00
13 lines
354 B
TypeScript
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 };
|