(slug)
| 223 | } |
| 224 | |
| 225 | function levelNumberInExam (slug) { |
| 226 | const exam = getStorageExam() |
| 227 | if (!exam) { |
| 228 | return 0 |
| 229 | } |
| 230 | const levels = levelsOfExam(exam) |
| 231 | return _.findIndex(levels, { slug }) + 1 |
| 232 | } |
| 233 | |
| 234 | module.exports = { |
| 235 | extraProvisions, |
nothing calls this directly
no test coverage detected