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

Function submitExam

app/core/store/modules/exams.js:39–47  ·  view source on GitHub ↗
({ commit }, { userExamId, expires })

Source from the content-addressed store, hash-verified

37 },
38
39 async submitExam ({ commit }, { userExamId, expires }) {
40 const response = await submitExam(userExamId, {
41 expires,
42 })
43 commit('updateUserExam', {
44 examId: response.examId,
45 userExam: response,
46 })
47 },
48
49 async fetchUserExam ({ commit }, { examId, includeArchived = false }) {
50 try {

Callers

nothing calls this directly

Calls 1

submitExamFunction · 0.90

Tested by

no test coverage detected