MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / uniqueEmail

Function uniqueEmail

apps/api/tests/api/auth/mfa.routes.test.ts:26–27  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

24const SET_COOKIE_HEADER = "set-cookie";
25const NOT_MFA_REQUIRED_ERROR = "login response was not an mfaRequired envelope";
26const uniqueEmail = (prefix: string): string =>
27 `${prefix}-${crypto.randomUUID()}@example.com`;
28
29interface IMfaRequiredBody {
30 readonly success: boolean;

Callers 2

mfa.routes.test.tsFile · 0.70
api-golden-path.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected