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