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

Function cleanup

e2e/scenarios/tool-descriptions.test.ts:303–317  ·  view source on GitHub ↗
(slug: string)

Source from the content-addressed store, hash-verified

301 });
302
303 const cleanup = (slug: string) =>
304 Effect.gen(function* () {
305 yield* apiClient.connections
306 .remove({
307 params: {
308 owner: "org",
309 integration: IntegrationSlug.make(slug),
310 name: ConnectionName.make("main"),
311 },
312 })
313 .pipe(Effect.ignore);
314 yield* apiClient.integrations
315 .remove({ params: { slug: IntegrationSlug.make(slug) } })
316 .pipe(Effect.ignore);
317 });
318
319 yield* Effect.ensuring(
320 Effect.gen(function* () {

Callers 1

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected