MCPcopy
hub / github.com/freeCodeCamp/freeCodeCamp / post

Function post

api/src/routes/apps/classroom.test.ts:29–33  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

27const nonClassroomUserId = '000000000000000000000002';
28
29function post(url: string) {
30 return request(fastifyTestInstance.server)
31 .post(url)
32 .set('authorization', `Bearer ${BEARER_TOKEN}`);
33}
34
35describe('classroom routes', () => {
36 setupServer();

Callers 1

classroom.test.tsFile · 0.70

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected