MCPcopy Create free account
hub / github.com/chhoumann/quickadd / makeChoiceExecutor

Function makeChoiceExecutor

src/quickAddApi.test.ts:160–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158}
159
160function makeChoiceExecutor() {
161 return {
162 variables: new Map<string, unknown>(),
163 execute: vi.fn(async () => {}),
164 consumeAbortSignal: vi.fn(
165 (): InstanceType<typeof MacroAbortError> | null => null,
166 ),
167 };
168}
169
170function makePlugin(overrides: Record<string, unknown> = {}) {
171 return {

Callers 2

getApiFunction · 0.70

Calls 1

fnMethod · 0.80

Tested by

no test coverage detected