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

Function createExam

app/core/store/modules/exams.js:22–25  ·  view source on GitHub ↗
({ commit }, exam)

Source from the content-addressed store, hash-verified

20 },
21 actions: {
22 async createExam ({ commit }, exam) {
23 const response = await postExam(exam)
24 commit('addExam', response)
25 },
26 async fetchExamById ({ commit, state }, id) {
27 const exam = await getExamById(id)
28 commit('addExam', exam)

Callers

nothing calls this directly

Calls 1

postExamFunction · 0.90

Tested by

no test coverage detected