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

Function freshId

apps/cloud/src/auth/mirror-feeders.node.test.ts:106–106  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

104// Synthetic identities only. Every test mints its own org ids so the shared
105// test database never couples two tests.
106const freshId = (prefix: string) => `${prefix}_${crypto.randomUUID().replaceAll("-", "")}`;
107
108const workosUser = (id: string, overrides: Partial<WorkOsUserPayload> = {}) => ({
109 object: "user" as const,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected