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

Function startExam

app/core/store/modules/exams.js:31–37  ·  view source on GitHub ↗
({ commit }, { examId, codeLanguage, duration })

Source from the content-addressed store, hash-verified

29 },
30
31 async startExam ({ commit }, { examId, codeLanguage, duration }) {
32 const response = await startExam(examId, { codeLanguage, duration })
33 commit('updateUserExam', {
34 examId,
35 userExam: response,
36 })
37 },
38
39 async submitExam ({ commit }, { userExamId, expires }) {
40 const response = await submitExam(userExamId, {

Callers

nothing calls this directly

Calls 1

startExamFunction · 0.90

Tested by

no test coverage detected