({ commit, state }, id)
| 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 }) |
nothing calls this directly
no test coverage detected