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

Function taken

packages/core/api/src/account/org-slug.test.ts:94–94  ·  view source on GitHub ↗
(slugs: ReadonlyArray<string>)

Source from the content-addressed store, hash-verified

92
93describe("generateOrgSlug", () => {
94 const taken = (slugs: ReadonlyArray<string>) => async (slug: string) => slugs.includes(slug);
95 // `acme-corp` + "-" + 4 chars of the look-alike-free alphabet.
96 const discriminated = (base: string) => new RegExp(`^${base}-[a-z2-9]{4}$`);
97

Callers 1

org-slug.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected