@@ -82,7 +82,7 @@ beforeEach(() => {
82
82
reviewDecision : 'APPROVED' ,
83
83
mergeStateStatus : 'CLEAN' ,
84
84
reviews : {
85
- total : 1
85
+ totalCount : 1
86
86
} ,
87
87
commits : {
88
88
nodes : [
@@ -161,7 +161,7 @@ test('runs prechecks and finds that the IssueOps command is valid for a branch d
161
161
reviewDecision : 'APPROVED' ,
162
162
mergeStateStatus : 'CLEAN' ,
163
163
reviews : {
164
- total : 1
164
+ totalCount : 1
165
165
} ,
166
166
commits : {
167
167
nodes : [
@@ -318,7 +318,7 @@ test('runs prechecks and finds CI checks pass but reviews are not defined', asyn
318
318
pullRequest : {
319
319
reviewDecision : null ,
320
320
reviews : {
321
- total : 0
321
+ totalCount : 0
322
322
} ,
323
323
commits : {
324
324
nodes : [
@@ -356,7 +356,7 @@ test('runs prechecks and finds CI is passing and the PR has not been reviewed BU
356
356
pullRequest : {
357
357
reviewDecision : 'REVIEW_REQUIRED' ,
358
358
reviews : {
359
- total : 0
359
+ totalCount : 0
360
360
} ,
361
361
commits : {
362
362
nodes : [
@@ -393,7 +393,7 @@ test('runs prechecks and finds that the IssueOps command is valid for a branch d
393
393
pullRequest : {
394
394
reviewDecision : 'APPROVED' ,
395
395
reviews : {
396
- total : 1
396
+ totalCount : 1
397
397
} ,
398
398
commits : {
399
399
nodes : [
@@ -443,7 +443,7 @@ test('runs prechecks and finds that the IssueOps command is on a PR from a forke
443
443
pullRequest : {
444
444
reviewDecision : 'APPROVED' ,
445
445
reviews : {
446
- total : 4
446
+ totalCount : 4
447
447
} ,
448
448
commits : {
449
449
nodes : [
@@ -492,7 +492,7 @@ test('runs prechecks and finds CI is pending and the PR has not been reviewed BU
492
492
pullRequest : {
493
493
reviewDecision : 'REVIEW_REQUIRED' ,
494
494
reviews : {
495
- total : 0
495
+ totalCount : 0
496
496
} ,
497
497
commits : {
498
498
nodes : [
@@ -527,7 +527,7 @@ test('runs prechecks and finds CI checks are pending, the PR has not been review
527
527
pullRequest : {
528
528
reviewDecision : 'REVIEW_REQUIRED' ,
529
529
reviews : {
530
- total : 0
530
+ totalCount : 0
531
531
} ,
532
532
commits : {
533
533
nodes : [
@@ -559,7 +559,7 @@ test('runs prechecks and finds CI is pending and reviewers have not been defined
559
559
pullRequest : {
560
560
reviewDecision : null ,
561
561
reviews : {
562
- total : 0
562
+ totalCount : 0
563
563
} ,
564
564
commits : {
565
565
nodes : [
@@ -591,7 +591,7 @@ test('runs prechecks and finds CI checked have not been defined, the PR has not
591
591
pullRequest : {
592
592
reviewDecision : 'REVIEW_REQUIRED' ,
593
593
reviews : {
594
- total : 0
594
+ totalCount : 0
595
595
}
596
596
}
597
597
}
@@ -614,7 +614,7 @@ test('runs prechecks and deploys to the stable branch', async () => {
614
614
pullRequest : {
615
615
reviewDecision : null ,
616
616
reviews : {
617
- total : 0
617
+ totalCount : 0
618
618
}
619
619
}
620
620
}
@@ -640,7 +640,7 @@ test('runs prechecks and finds the PR has been approved but CI checks are pendin
640
640
pullRequest : {
641
641
reviewDecision : 'APPROVED' ,
642
642
reviews : {
643
- total : 1
643
+ totalCount : 1
644
644
} ,
645
645
commits : {
646
646
nodes : [
@@ -701,7 +701,7 @@ test('runs prechecks and finds the PR is approved but CI is failing', async () =
701
701
pullRequest : {
702
702
reviewDecision : 'APPROVED' ,
703
703
reviews : {
704
- total : 1
704
+ totalCount : 1
705
705
} ,
706
706
commits : {
707
707
nodes : [
@@ -733,7 +733,7 @@ test('runs prechecks and finds the PR is approved but CI is failing', async () =
733
733
pullRequest : {
734
734
reviewDecision : 'APPROVED' ,
735
735
reviews : {
736
- total : 1
736
+ totalCount : 1
737
737
} ,
738
738
commits : {
739
739
nodes : [
@@ -828,7 +828,7 @@ test('runs prechecks and finds the PR is approved and CI checks have NOT been de
828
828
pullRequest : {
829
829
reviewDecision : 'APPROVED' ,
830
830
reviews : {
831
- total : 1
831
+ totalCount : 1
832
832
}
833
833
}
834
834
}
@@ -848,7 +848,7 @@ test('runs prechecks and finds the PR is behind the stable branch and a noop dep
848
848
pullRequest : {
849
849
reviewDecision : 'APPROVED' ,
850
850
reviews : {
851
- total : 1
851
+ totalCount : 1
852
852
} ,
853
853
mergeStateStatus : 'BEHIND' ,
854
854
commits : {
@@ -896,7 +896,7 @@ test('runs prechecks and finds the PR is un-mergable and a noop deploy', async (
896
896
pullRequest : {
897
897
reviewDecision : 'APPROVED' ,
898
898
reviews : {
899
- total : 1
899
+ totalCount : 1
900
900
} ,
901
901
mergeStateStatus : 'DIRTY' ,
902
902
commits : {
@@ -933,7 +933,7 @@ test('runs prechecks and finds the PR is BEHIND and a noop deploy and it fails t
933
933
pullRequest : {
934
934
reviewDecision : 'APPROVED' ,
935
935
reviews : {
936
- total : 1
936
+ totalCount : 1
937
937
} ,
938
938
mergeStateStatus : 'BEHIND' ,
939
939
commits : {
@@ -981,7 +981,7 @@ test('runs prechecks and finds the PR is BEHIND and a noop deploy and it hits an
981
981
pullRequest : {
982
982
reviewDecision : 'APPROVED' ,
983
983
reviews : {
984
- total : 1
984
+ totalCount : 1
985
985
} ,
986
986
mergeStateStatus : 'BEHIND' ,
987
987
commits : {
@@ -1024,7 +1024,7 @@ test('runs prechecks and finds the PR is BEHIND and a noop deploy and update_bra
1024
1024
pullRequest : {
1025
1025
reviewDecision : 'APPROVED' ,
1026
1026
reviews : {
1027
- total : 1
1027
+ totalCount : 1
1028
1028
} ,
1029
1029
mergeStateStatus : 'BEHIND' ,
1030
1030
commits : {
@@ -1065,7 +1065,7 @@ test('runs prechecks and finds the PR is a DRAFT PR and a noop deploy', async ()
1065
1065
pullRequest : {
1066
1066
reviewDecision : 'APPROVED' ,
1067
1067
reviews : {
1068
- total : 1
1068
+ totalCount : 1
1069
1069
} ,
1070
1070
mergeStateStatus : 'BLOCKED' ,
1071
1071
commits : {
@@ -1124,7 +1124,7 @@ test('runs prechecks and finds the PR is a DRAFT PR and from an allowed environm
1124
1124
pullRequest : {
1125
1125
reviewDecision : 'APPROVED' ,
1126
1126
reviews : {
1127
- total : 1
1127
+ totalCount : 1
1128
1128
} ,
1129
1129
mergeStateStatus : 'CLEAN' ,
1130
1130
commits : {
@@ -1177,7 +1177,7 @@ test('runs prechecks and finds the PR is BEHIND and a noop deploy and the commit
1177
1177
pullRequest : {
1178
1178
reviewDecision : 'APPROVED' ,
1179
1179
reviews : {
1180
- total : 1
1180
+ totalCount : 1
1181
1181
} ,
1182
1182
mergeStateStatus : 'BEHIND' ,
1183
1183
commits : {
@@ -1214,7 +1214,7 @@ test('runs prechecks and finds the PR is BEHIND and a full deploy and update_bra
1214
1214
pullRequest : {
1215
1215
reviewDecision : 'APPROVED' ,
1216
1216
reviews : {
1217
- total : 1
1217
+ totalCount : 1
1218
1218
} ,
1219
1219
mergeStateStatus : 'BEHIND' ,
1220
1220
commits : {
@@ -1254,7 +1254,7 @@ test('runs prechecks and finds the PR is behind the stable branch and a full dep
1254
1254
pullRequest : {
1255
1255
reviewDecision : 'APPROVED' ,
1256
1256
reviews : {
1257
- total : 1
1257
+ totalCount : 1
1258
1258
} ,
1259
1259
mergeStateStatus : 'BEHIND' ,
1260
1260
commits : {
@@ -1500,7 +1500,7 @@ test('runs prechecks and finds that no CI checks exist but reviews are defined a
1500
1500
pullRequest : {
1501
1501
reviewDecision : 'APPROVED' ,
1502
1502
reviews : {
1503
- total : 1
1503
+ totalCount : 1
1504
1504
} ,
1505
1505
commits : {
1506
1506
nodes : [
@@ -1571,7 +1571,7 @@ test('runs prechecks and finds that skip_ci is set and the PR has been approved'
1571
1571
pullRequest : {
1572
1572
reviewDecision : 'APPROVED' ,
1573
1573
reviews : {
1574
- total : 1
1574
+ totalCount : 1
1575
1575
} ,
1576
1576
commits : {
1577
1577
nodes : [
0 commit comments