diff --git a/dist/index.js b/dist/index.js index 484cc25..7fbfa16 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6773,7 +6773,7 @@ class DiffChecker { return returnStrings; } checkIfTestCoverageFallsBelowDelta(delta) { - console.log({ diffCoverageReport: this.diffCoverageReport }); + console.log({ diffCoverageReport: JSON.stringify(this.diffCoverageReport) }); const reportKeys = Object.keys(this.diffCoverageReport); for (const reportKey of reportKeys) { const diffCoverageData = this.diffCoverageReport[reportKey]; diff --git a/src/DiffChecker.ts b/src/DiffChecker.ts index 429b83a..fb6a1aa 100644 --- a/src/DiffChecker.ts +++ b/src/DiffChecker.ts @@ -68,7 +68,7 @@ export class DiffChecker { } checkIfTestCoverageFallsBelowDelta(delta: number): boolean { - console.log({diffCoverageReport: this.diffCoverageReport}) + console.log({diffCoverageReport: JSON.stringify(this.diffCoverageReport)}) const reportKeys = Object.keys(this.diffCoverageReport) for (const reportKey of reportKeys) { const diffCoverageData = this.diffCoverageReport[reportKey]