From 76cb9c2a39d477a64824a985ade40507e3bbade1 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Fri, 13 Feb 2026 21:34:48 -0800 Subject: feat(vanilla): add testing infrastructure and tests (NK-wjnczv) --- .../@vitest/mocker/dist/index.d-C-sLYZi-.d.ts | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 vanilla/node_modules/@vitest/mocker/dist/index.d-C-sLYZi-.d.ts (limited to 'vanilla/node_modules/@vitest/mocker/dist/index.d-C-sLYZi-.d.ts') diff --git a/vanilla/node_modules/@vitest/mocker/dist/index.d-C-sLYZi-.d.ts b/vanilla/node_modules/@vitest/mocker/dist/index.d-C-sLYZi-.d.ts new file mode 100644 index 0000000..cad0899 --- /dev/null +++ b/vanilla/node_modules/@vitest/mocker/dist/index.d-C-sLYZi-.d.ts @@ -0,0 +1,25 @@ +import './types.d-B8CCKmHt.js'; + +type Key = string | symbol; +type CreateMockInstanceProcedure = (options?: { + prototypeMembers?: (string | symbol)[]; + name?: string | symbol; + originalImplementation?: (...args: any[]) => any; + keepMembersImplementation?: boolean; +}) => any; +interface MockObjectOptions { + type: "automock" | "autospy"; + globalConstructors: GlobalConstructors; + createMockInstance: CreateMockInstanceProcedure; +} +declare function mockObject(options: MockObjectOptions, object: Record, mockExports?: Record): Record; +interface GlobalConstructors { + Object: ObjectConstructor; + Function: FunctionConstructor; + RegExp: RegExpConstructor; + Array: ArrayConstructor; + Map: MapConstructor; +} + +export { mockObject as m }; +export type { CreateMockInstanceProcedure as C, GlobalConstructors as G, MockObjectOptions as M }; -- cgit v1.2.3