Skip to content

Commit 2d25613

Browse files
committed
added logging
1 parent 37e01ce commit 2d25613

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/DiffChecker.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ export class DiffChecker {
6868
}
6969

7070
checkIfTestCoverageFallsBelowDelta(delta: number): boolean {
71-
const keys = Object.keys(this.diffCoverageReport)
72-
for (const key of keys) {
73-
const diffCoverageData = this.diffCoverageReport[key]
71+
console.log({diffCoverageReport: this.diffCoverageReport})
72+
const reportKeys = Object.keys(this.diffCoverageReport)
73+
for (const reportKey of reportKeys) {
74+
const diffCoverageData = this.diffCoverageReport[reportKey]
7475
const keys: ('lines' | 'statements' | 'branches' | 'functions')[] = <
7576
('lines' | 'statements' | 'branches' | 'functions')[]
7677
>Object.keys(diffCoverageData)

0 commit comments

Comments
 (0)