Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/freeCodeCamp/freeCodeCamp
/ get-challenges.test.ts
File
get-challenges.test.ts
api/src/utils/get-challenges.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, test, expect } from
'vitest'
;
2
import
{ getChallenges, getChallengeIdsByBlock } from
'./get-challenges.js'
;
3
import
{ isObjectID } from
'./validation.js'
;
4
Callers
nothing calls this directly
Calls
3
getChallenges
Function · 0.90
isObjectID
Function · 0.85
getChallengeIdsByBlock
Function · 0.85
Tested by
no test coverage detected