MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / resolve

Function resolve

packages/plugins/openapi/src/sdk/spec-blob.test.ts:374–396  ·  view source on GitHub ↗
(config: IntegrationConfig)

Source from the content-addressed store, hash-verified

372 };
373
374 const resolve = (config: IntegrationConfig) =>
375 plugin.resolveTools!({
376 integration: {
377 slug: IntegrationSlug.make("pointer_api"),
378 name: "pointer",
379 description: "pointer",
380 kind: "openapi",
381 canRemove: true,
382 canRefresh: false,
383 authMethods: [],
384 },
385 config,
386 connection: {
387 owner: "org",
388 integration: IntegrationSlug.make("pointer_api"),
389 name: ConnectionName.make("main"),
390 },
391 template: null,
392 storage,
393 httpClientLayer: FetchHttpClient.layer,
394 getValue: () => Effect.succeed(null),
395 getValues: () => Effect.succeed({}),
396 });
397
398 const fromPointer = yield* resolve({ specHash: hash } as IntegrationConfig);
399 expect(fromPointer.tools.map((tool) => String(tool.name))).toContain("items.echoHeaders");

Callers 15

spec-blob.test.tsFile · 0.70
real-specs.test.tsFile · 0.70
createSqliteTestFumaDbFunction · 0.50
fixtureServerFunction · 0.50
readRequestBodyFunction · 0.50
closeServerFunction · 0.50
listenLocalFunction · 0.50
reserveLocalPortFunction · 0.50
disposeStateFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected