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

Function addExam

app/core/store/modules/exams.js:11–13  ·  view source on GitHub ↗
(state, exam)

Source from the content-addressed store, hash-verified

9 },
10 mutations: {
11 addExam (state, exam) {
12 state.examsById[exam._id] = exam
13 },
14 updateUserExam (state, { examId, userExam }) {
15 // for easy tracking userExam updates,
16 // we only store the latest user exam

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected