File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ function checkShaDiscrepancies (ciMetadata, userProvidedGitMetadata) {
426
426
427
427
incrementCountMetric (
428
428
TELEMETRY_GIT_SHA_MATCH ,
429
- { match : gitCommitShaMatch }
429
+ { matched : gitCommitShaMatch }
430
430
)
431
431
}
432
432
Original file line number Diff line number Diff line change @@ -592,7 +592,7 @@ describe('checkShaDiscrepancies', () => {
592
592
discrepant_provider : discrepantProvider
593
593
} )
594
594
} )
595
- expect ( incrementCountMetricStub ) . to . have . been . calledWith ( TELEMETRY_GIT_SHA_MATCH , { match : false } )
595
+ expect ( incrementCountMetricStub ) . to . have . been . calledWith ( TELEMETRY_GIT_SHA_MATCH , { matched : false } )
596
596
} )
597
597
598
598
it ( 'return true if the CI/Git Client commit SHA is different from the user provided commit SHA' , ( ) => {
@@ -634,7 +634,7 @@ describe('checkShaDiscrepancies', () => {
634
634
discrepant_provider : discrepantProvider
635
635
} )
636
636
} )
637
- expect ( incrementCountMetricStub ) . to . have . been . calledWith ( TELEMETRY_GIT_SHA_MATCH , { match : false } )
637
+ expect ( incrementCountMetricStub ) . to . have . been . calledWith ( TELEMETRY_GIT_SHA_MATCH , { matched : false } )
638
638
} )
639
639
640
640
it ( 'increment TELEMETRY_GIT_SHA_MATCH with match: true when all values match' , ( ) => {
@@ -663,6 +663,6 @@ describe('checkShaDiscrepancies', () => {
663
663
664
664
checkShaDiscrepancies ( ciMetadata , userProvidedGitMetadata )
665
665
666
- expect ( incrementCountMetricStub ) . to . have . been . calledWith ( TELEMETRY_GIT_SHA_MATCH , { match : true } )
666
+ expect ( incrementCountMetricStub ) . to . have . been . calledWith ( TELEMETRY_GIT_SHA_MATCH , { matched : true } )
667
667
} )
668
668
} )
You can’t perform that action at this time.
0 commit comments