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

Function fetchExamById

app/core/store/modules/exams.js:26–29  ·  view source on GitHub ↗
({ commit, state }, id)

Source from the content-addressed store, hash-verified

24 commit('addExam', response)
25 },
26 async fetchExamById ({ commit, state }, id) {
27 const exam = await getExamById(id)
28 commit('addExam', exam)
29 },
30
31 async startExam ({ commit }, { examId, codeLanguage, duration }) {
32 const response = await startExam(examId, { codeLanguage, duration })

Callers

nothing calls this directly

Calls 1

getExamByIdFunction · 0.90

Tested by

no test coverage detected