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

Function unique

e2e/selfhost/oauth-refresh-cross-session.test.ts:39–39  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

37const api = composePluginApi([openApiHttpPlugin()] as const);
38
39const unique = (prefix: string) => `${prefix}_${randomBytes(4).toString("hex")}`;
40
41/** Both sessions call once, are rejected together, then retry once. */
42const SESSIONS = 2;

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected