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

Function setup

packages/plugins/graphql/src/sdk/plugin.test.ts:1391–1403  ·  view source on GitHub ↗
(slug: string)

Source from the content-addressed store, hash-verified

1389 requests[requests.length - 1]?.payload.query ?? "";
1390
1391 const setup = (slug: string) =>
1392 Effect.gen(function* () {
1393 const server = yield* gitlabServer;
1394 const executor = yield* makeExecutor();
1395 yield* executor.graphql.addIntegration({ endpoint: server.endpoint, slug });
1396 yield* createOrgConnection(executor, {
1397 integration: slug,
1398 name: "main",
1399 template: "none",
1400 });
1401 yield* server.clearRequests;
1402 return { server, executor };
1403 });
1404
1405 it.effect("default selection is scalar leaves only: valid, and never bare composites", () =>
1406 Effect.gen(function* () {

Callers 1

plugin.test.tsFile · 0.70

Calls 2

createOrgConnectionFunction · 0.85
makeExecutorFunction · 0.70

Tested by

no test coverage detected