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

Function addPingSpec

e2e/cloud/tenant-isolation.test.ts:34–49  ·  view source on GitHub ↗
(client: Client, slug: IntegrationSlug, description?: string)

Source from the content-addressed store, hash-verified

32});
33
34const addPingSpec = (client: Client, slug: IntegrationSlug, description?: string) =>
35 client.openapi.addSpec({
36 payload: {
37 spec: { kind: "blob", value: pingSpec },
38 slug,
39 ...(description === undefined ? {} : { description }),
40 baseUrl: "http://127.0.0.1:59999", // never contacted during registration
41 authenticationTemplate: [
42 {
43 slug: "apiKey",
44 type: "apiKey",
45 headers: { authorization: ["Bearer ", { type: "variable", name: "token" }] },
46 },
47 ],
48 },
49 });
50
51scenario(
52 "Tenant isolation · integrations, tools, and connections in one org are invisible to another",

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected