MCPcopy Index your code
hub / github.com/freeCodeCamp/freeCodeCamp / mockAuth0ValidEmail

Function mockAuth0ValidEmail

api/src/routes/public/auth.test.ts:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22});
23
24const mockAuth0ValidEmail = () => ({
25 ok: true,
26 json: () => ({ email: newUserEmail })
27});
28
29vi.mock('../../utils/env', async () => {
30 const actual =

Callers 1

auth.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected