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

Function byIntegration

packages/plugins/toolkits/src/server.test.ts:154–157  ·  view source on GitHub ↗
(
        a: { integration: string | null },
        b: { integration: string | null },
      )

Source from the content-addressed store, hash-verified

152 // An org toolkit never reaches personal rows: unowned prefixes pin to
153 // org, user-only prefixes drop, and static-only patterns contribute none.
154 const byIntegration = (
155 a: { integration: string | null },
156 b: { integration: string | null },
157 ) => String(a.integration).localeCompare(String(b.integration));
158 expect([...(prepared.dynamicScope ?? [])].sort(byIntegration)).toEqual([
159 { integration: "github", owner: "org", connection: "main" },
160 { integration: "linear", owner: "org", connection: null },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected