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

Function freshId

apps/cloud/src/auth/workos-events-sync.node.test.ts:83–83  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

81// Synthetic identities only; every test mints its own ids so the shared test
82// database never couples two tests.
83const freshId = (prefix: string) => `${prefix}_${crypto.randomUUID().replaceAll("-", "")}`;
84
85const workosUser = (id: string, overrides: Partial<User> = {}): User => ({
86 object: "user",

Callers 5

userEventFunction · 0.70
membershipEventFunction · 0.70
organizationEventFunction · 0.70
applyEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected