MCPcopy 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

1import { describe, test, expect } from 'vitest';
2import { getChallenges, getChallengeIdsByBlock } from './get-challenges.js';
3import { isObjectID } from './validation.js';
4

Callers

nothing calls this directly

Calls 3

getChallengesFunction · 0.90
isObjectIDFunction · 0.85
getChallengeIdsByBlockFunction · 0.85

Tested by

no test coverage detected