MCPcopy Create free account
hub / github.com/codecombat/codecombat / startExam

Function startExam

app/core/api/user-exams.js:3–8  ·  view source on GitHub ↗
(examId, options)

Source from the content-addressed store, hash-verified

1const fetchJson = require('./fetch-json')
2
3const startExam = async (examId, options) => {
4 return fetchJson(`/db/user-exams/${examId}/start`, {
5 method: 'POST',
6 json: options,
7 })
8}
9
10const submitExam = async (id, options) => {
11 return fetchJson(`/db/user-exams/${id}/submit`, {

Callers 1

startExamFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected