Skip to content

Commit

Permalink
update v8-and-istanbul test
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Dec 21, 2023
1 parent 8b44888 commit 44a0fd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test-v8.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ const generate = async () => {

console.log('generate v8 coverage reports ...');

const coverageResults1 = await new CoverageReport(coverageOptions).generate();
console.log('reportPath', EC.magenta(coverageResults1.reportPath));
console.log('v8 coverage generated', Object.keys(coverageResults1), coverageResults1.summary);
const coverageResults = await new CoverageReport(coverageOptions).generate();
console.log('reportPath', EC.magenta(coverageResults.reportPath));
console.log('v8 coverage generated', Object.keys(coverageResults.summary).map((k) => [k, coverageResults.summary[k].pct]));

};

Expand Down

0 comments on commit 44a0fd7

Please sign in to comment.