Files
SnowLuma/.pnpm-store/v11/files/49/52aab2adcb258d2d862b2166e7f35135a443bd097a67fd140de24bc0823f9022344c5c9f57ebc8526e42fe8573dcbc67409effb382edbd703c0ec6b8b14234
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

14 lines
368 B
Plaintext

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