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