All files server/src/features/assignment/utils

92.61% Statements 665/718
83.08% Branches 275/331
100% Functions 193/193
92.55% Lines 659/712

Press n or j to go to the next uncovered block, b, p or k for the previous block.

File Statements Branches Functions Lines
addAssignmentNotifications.ts
93.05% 67/72 83.87% 26/31 100% 20/20 93.05% 67/72
assignmentTestUtils.ts
100% 26/26 100% 17/17 100% 4/4 100% 23/23
formatResults.ts
85.71% 18/21 75% 9/12 100% 7/7 85.71% 18/21
getAssignmentBonus.ts
100% 33/33 100% 21/21 100% 16/16 100% 33/33
getAssignmentResultGroups.ts
100% 12/12 50% 1/2 100% 6/6 100% 12/12
getAttendeeGroups.ts
100% 11/11 75% 3/4 100% 2/2 100% 10/10
getDynamicStartTime.ts
87.5% 7/8 50% 1/2 100% 1/1 87.5% 7/8
getEvents.ts
100% 9/9 100% 2/2 100% 3/3 100% 9/9
getGroupCreators.ts
100% 18/18 100% 8/8 100% 1/1 100% 17/17
getGroupMembers.ts
100% 10/10 100% 6/6 100% 1/1 100% 10/10
getGroups.ts
86.66% 13/15 75% 3/4 100% 6/6 86.66% 13/15
getList.ts
85.71% 18/21 80% 8/10 100% 4/4 85.71% 18/21
getLotterySignupProgramItems.ts
100% 14/14 100% 2/2 100% 1/1 100% 14/14
getLotterySignups.ts
100% 9/9 100% 2/2 100% 1/1 100% 9/9
getLotterySignupsInRun.ts
100% 9/9 100% 2/2 100% 4/4 100% 9/9
getRandomAndPadgInput.ts
100% 16/16 100% 4/4 100% 1/1 100% 16/16
getRandomInt.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
getStartingProgramItems.ts
100% 6/6 100% 0/0 100% 2/2 100% 6/6
getTimeNow.ts
87.5% 7/8 75% 6/8 100% 1/1 87.5% 7/8
getUpcomingLotterySignups.ts
94.11% 16/17 50% 1/2 100% 9/9 94.11% 16/17
hasStartTimeBeenLotteried.ts
100% 3/3 100% 2/2 100% 2/2 100% 3/3
partitionByHeldSignups.ts
100% 15/15 75% 6/8 100% 7/7 100% 15/15
prepareAssignmentParams.ts
96% 24/25 75% 3/4 100% 12/12 96% 24/25
removeInvalidProgramItemsFromUsers.ts
93.97% 78/83 89.36% 42/47 100% 20/20 93.97% 78/83
removeOverlapLotterySignups.ts
86.36% 38/44 84.61% 22/26 100% 10/10 86.36% 38/44
runAssignmentAlgorithm.ts
92.85% 39/42 89.28% 25/28 100% 4/4 92.85% 39/42
saveResults.ts
76.92% 20/26 64.28% 9/14 100% 3/3 76.92% 20/26
saveUserSignupResults.ts
92.3% 60/65 72.41% 21/29 100% 22/22 92.18% 59/64
toPercentage.ts
100% 2/2 100% 2/2 100% 1/1 100% 2/2
updateMovedProgramItems.ts
85.52% 65/76 65.62% 21/32 100% 21/21 85.52% 65/76