Skip to content

Commit

Permalink
added logging
Browse files Browse the repository at this point in the history
  • Loading branch information
zuki-linB committed Nov 22, 2023
1 parent 37e01ce commit 2d25613
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/DiffChecker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ export class DiffChecker {
}

checkIfTestCoverageFallsBelowDelta(delta: number): boolean {
const keys = Object.keys(this.diffCoverageReport)
for (const key of keys) {
const diffCoverageData = this.diffCoverageReport[key]
console.log({diffCoverageReport: this.diffCoverageReport})
const reportKeys = Object.keys(this.diffCoverageReport)
for (const reportKey of reportKeys) {
const diffCoverageData = this.diffCoverageReport[reportKey]
const keys: ('lines' | 'statements' | 'branches' | 'functions')[] = <
('lines' | 'statements' | 'branches' | 'functions')[]
>Object.keys(diffCoverageData)
Expand Down

0 comments on commit 2d25613

Please sign in to comment.