Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/freeCodeCamp/freeCodeCamp
/ donate.test.ts
File
donate.test.ts
api/src/routes/protected/donate.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, test, expect, beforeEach, vi } from
'vitest'
;
2
import
{
3
createSuperRequest,
4
devLogin,
Callers
nothing calls this directly
Calls
9
createUserInput
Function · 0.85
devLogin
Function · 0.85
createSuperRequest
Function · 0.85
verifyUpdatedUserAndNewDonation
Function · 0.85
verifyNoUpdatedUserAndNoNewDonation
Function · 0.85
verifyNoNewUserAndNoNewDonation
Function · 0.85
generateMockSubCreate
Function · 0.70
setupServer
Function · 0.50
send
Method · 0.45
Tested by
no test coverage detected