Files
SnowLuma/.pnpm-store/v11/files/49/52aab2adcb258d2d862b2166e7f35135a443bd097a67fd140de24bc0823f9022344c5c9f57ebc8526e42fe8573dcbc67409effb382edbd703c0ec6b8b14234
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
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 };