|
Ran
|
Jobs
1
|
Files
24
|
Run time
1min
|
Badge
README BADGES
|
push
github
Join consultation (#46) * feat(views): shrink schedule consultation and add join consultation button to home page * feat(routes): add join_consultation page with scripts for joining * task(model): add update + checking functions for joining * tests(unit): test joining consultation methods * tests(e2e): join consultation page * tests(integration): join consultation tests * tests(integration): update lecturer tests to not include join consultation button * fix(integration): unbroken home tests * Revert "fix(integration): unbroken home tests" This reverts commit 7977337cf. * tests: buffed up student_login + unbroken home tests * fix(tests): tests no longer produce excess consultation documents * fix(models): update return consultation for student to only include future consultations * fix(tests): use future tes dates instead of 2020 and 2026 26 April * tests(unit): add test to verify past ocnsultations are not returned
377 of 548 branches covered (68.8%)
Branch coverage included in aggregate %.
169 of 185 new or added lines in 3 files covered. (91.35%)
4 existing lines in 2 files now uncovered.2276 of 2601 relevant lines covered (87.5%)
15.94 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 9 |
88.61 |
-11.39% | src/models/consultation_db.js |
| 7 |
79.41 |
src/routes/join_consultation.js |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 3 |
89.77 |
-1.86% | src/services/consultation_availability_validation.js |
| 1 |
84.91 |
-1.37% | src/app.js |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 25204682853.1 | 24 |
84.25 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|