@@ -979,7 +979,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
979
979
// when
980
980
const error = await catchErr ( calculateCertificationAssessmentScore ) ( {
981
981
certificationAssessment,
982
- continueOnError : false ,
983
982
areaRepository,
984
983
placementProfileService,
985
984
scoringService,
@@ -1032,7 +1031,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1032
1031
const error = await catchErr ( calculateCertificationAssessmentScore ) ( {
1033
1032
candidate,
1034
1033
certificationAssessment,
1035
- continueOnError : false ,
1036
1034
areaRepository,
1037
1035
placementProfileService,
1038
1036
scoringService,
@@ -1147,7 +1145,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1147
1145
const error = await catchErr ( calculateCertificationAssessmentScore ) ( {
1148
1146
candidate,
1149
1147
certificationAssessment,
1150
- continueOnError : false ,
1151
1148
areaRepository,
1152
1149
placementProfileService,
1153
1150
scoringService,
@@ -1159,8 +1156,7 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1159
1156
} ) ;
1160
1157
} ) ;
1161
1158
1162
- context ( 'Compute certification result for jury (continue on error)' , function ( ) {
1163
- const continueOnError = true ;
1159
+ context ( 'Compute certification result for jury' , function ( ) {
1164
1160
let placementProfileService ;
1165
1161
beforeEach ( function ( ) {
1166
1162
certificationAssessment = domainBuilder . buildCertificationAssessment ( {
@@ -1185,7 +1181,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1185
1181
// when
1186
1182
await calculateCertificationAssessmentScore ( {
1187
1183
certificationAssessment,
1188
- continueOnError,
1189
1184
areaRepository,
1190
1185
placementProfileService,
1191
1186
scoringService,
@@ -1210,7 +1205,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1210
1205
// when
1211
1206
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1212
1207
certificationAssessment : startedCertificationAssessment ,
1213
- continueOnError,
1214
1208
areaRepository,
1215
1209
placementProfileService,
1216
1210
scoringService,
@@ -1226,7 +1220,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1226
1220
// when
1227
1221
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1228
1222
certificationAssessment,
1229
- continueOnError,
1230
1223
areaRepository,
1231
1224
placementProfileService,
1232
1225
scoringService,
@@ -1270,7 +1263,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1270
1263
// when
1271
1264
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1272
1265
certificationAssessment,
1273
- continueOnError,
1274
1266
areaRepository,
1275
1267
placementProfileService,
1276
1268
scoringService,
@@ -1307,7 +1299,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1307
1299
// when
1308
1300
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1309
1301
certificationAssessment,
1310
- continueOnError,
1311
1302
areaRepository,
1312
1303
placementProfileService,
1313
1304
scoringService,
@@ -1348,7 +1339,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1348
1339
// when
1349
1340
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1350
1341
certificationAssessment,
1351
- continueOnError,
1352
1342
areaRepository,
1353
1343
placementProfileService,
1354
1344
scoringService,
@@ -1366,7 +1356,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1366
1356
// when
1367
1357
const { percentageCorrectAnswers } = await calculateCertificationAssessmentScore ( {
1368
1358
certificationAssessment : certificationAssessmentWithNeutralizedChallenge ,
1369
- continueOnError,
1370
1359
areaRepository,
1371
1360
placementProfileService,
1372
1361
scoringService,
@@ -1432,7 +1421,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1432
1421
// When
1433
1422
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1434
1423
certificationAssessment,
1435
- continueOnError,
1436
1424
areaRepository,
1437
1425
placementProfileService,
1438
1426
scoringService,
@@ -1448,7 +1436,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1448
1436
} ) ;
1449
1437
1450
1438
context ( 'Calculate certification result when assessment is completed (stop on error)' , function ( ) {
1451
- const continueOnError = false ;
1452
1439
let placementProfileService ;
1453
1440
beforeEach ( function ( ) {
1454
1441
certificationAssessment = domainBuilder . buildCertificationAssessment ( {
@@ -1473,7 +1460,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1473
1460
// when
1474
1461
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1475
1462
certificationAssessment,
1476
- continueOnError,
1477
1463
areaRepository,
1478
1464
placementProfileService,
1479
1465
scoringService,
@@ -1517,7 +1503,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1517
1503
// when
1518
1504
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1519
1505
certificationAssessment,
1520
- continueOnError,
1521
1506
areaRepository,
1522
1507
placementProfileService,
1523
1508
scoringService,
@@ -1552,7 +1537,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1552
1537
// when
1553
1538
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1554
1539
certificationAssessment,
1555
- continueOnError,
1556
1540
areaRepository,
1557
1541
placementProfileService,
1558
1542
scoringService,
@@ -1593,7 +1577,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1593
1577
// when
1594
1578
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1595
1579
certificationAssessment,
1596
- continueOnError,
1597
1580
areaRepository,
1598
1581
placementProfileService,
1599
1582
scoringService,
@@ -1678,7 +1661,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1678
1661
// when
1679
1662
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1680
1663
certificationAssessment,
1681
- continueOnError,
1682
1664
areaRepository,
1683
1665
placementProfileService,
1684
1666
scoringService,
@@ -1778,7 +1760,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1778
1760
// when
1779
1761
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1780
1762
certificationAssessment,
1781
- continueOnError,
1782
1763
areaRepository,
1783
1764
placementProfileService,
1784
1765
scoringService,
@@ -1830,7 +1811,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1830
1811
// when
1831
1812
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1832
1813
certificationAssessment,
1833
- continueOnError,
1834
1814
areaRepository,
1835
1815
placementProfileService,
1836
1816
scoringService,
@@ -1876,7 +1856,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1876
1856
// when
1877
1857
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1878
1858
certificationAssessment : certificationAssessmentWithNeutralizedChallenge ,
1879
- continueOnError : false ,
1880
1859
areaRepository,
1881
1860
placementProfileService,
1882
1861
scoringService,
@@ -1901,7 +1880,6 @@ describe('Certification | Shared | Unit | Domain | Services | Scoring V2', funct
1901
1880
// when
1902
1881
const certificationAssessmentScore = await calculateCertificationAssessmentScore ( {
1903
1882
certificationAssessment : certificationAssessmentWithNeutralizedChallenge ,
1904
- continueOnError : false ,
1905
1883
areaRepository,
1906
1884
placementProfileService,
1907
1885
scoringService,
0 commit comments