(config: IntegrationConfig)
| 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"); |
no outgoing calls
no test coverage detected