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

Function getApi

src/quickAddApi.test.ts:177–188  ·  view source on GitHub ↗
(
	app = makeApp(),
	plugin = makePlugin(),
	executor = makeChoiceExecutor(),
)

Source from the content-addressed store, hash-verified

175}
176
177function getApi(
178 app = makeApp(),
179 plugin = makePlugin(),
180 executor = makeChoiceExecutor(),
181) {
182 return {
183 api: QuickAddApi.GetApi(app, plugin, executor as never),
184 app,
185 plugin,
186 executor,
187 };
188}
189
190beforeEach(() => {
191 vi.clearAllMocks();

Callers 1

Calls 4

GetApiMethod · 0.80
makeAppFunction · 0.70
makePluginFunction · 0.70
makeChoiceExecutorFunction · 0.70

Tested by

no test coverage detected