We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37e01ce commit 2d25613Copy full SHA for 2d25613
src/DiffChecker.ts
@@ -68,9 +68,10 @@ export class DiffChecker {
68
}
69
70
checkIfTestCoverageFallsBelowDelta(delta: number): boolean {
71
- const keys = Object.keys(this.diffCoverageReport)
72
- for (const key of keys) {
73
- const diffCoverageData = this.diffCoverageReport[key]
+ console.log({diffCoverageReport: this.diffCoverageReport})
+ const reportKeys = Object.keys(this.diffCoverageReport)
+ for (const reportKey of reportKeys) {
74
+ const diffCoverageData = this.diffCoverageReport[reportKey]
75
const keys: ('lines' | 'statements' | 'branches' | 'functions')[] = <
76
('lines' | 'statements' | 'branches' | 'functions')[]
77
>Object.keys(diffCoverageData)
0 commit comments