diff --git a/lib/commands/report.js b/lib/commands/report.js index b42e5072..7bdc48c3 100644 --- a/lib/commands/report.js +++ b/lib/commands/report.js @@ -25,6 +25,7 @@ exports.outputReport = async function (argv) { excludeAfterRemap: argv.excludeAfterRemap, reporter: Array.isArray(argv.reporter) ? argv.reporter : [argv.reporter], reportsDirectory: argv['reports-dir'], + reporterOptions: argv.reporterOptions || {}, tempDirectory: argv.tempDirectory, watermarks: argv.watermarks, resolve: argv.resolve, diff --git a/test/integration.js.snap b/test/integration.js.snap index bd6c8fa5..a9279c7e 100644 --- a/test/integration.js.snap +++ b/test/integration.js.snap @@ -171,7 +171,7 @@ All files | 3.52 | 12.5 | 6.52 | 3.52 source-map-from-file.js | 0 | 0 | 0 | 0 | 1-100 c8/lib/commands | 0 | 0 | 0 | 0 | check-coverage.js | 0 | 0 | 0 | 0 | 1-70 - report.js | 0 | 0 | 0 | 0 | 1-42 + report.js | 0 | 0 | 0 | 0 | 1-43 c8/test/fixtures | 30.97 | 37.5 | 21.42 | 30.97 | async.js | 100 | 100 | 100 | 100 | c8-ignore-next.js | 54.54 | 0 | 0 | 54.54 | 1,3-4,9,12,17-19,21-22 @@ -536,7 +536,7 @@ All files | 3.52 | 12.5 | 6.52 | 3.52 source-map-from-file.js | 0 | 0 | 0 | 0 | 1-100 c8/lib/commands | 0 | 0 | 0 | 0 | check-coverage.js | 0 | 0 | 0 | 0 | 1-70 - report.js | 0 | 0 | 0 | 0 | 1-42 + report.js | 0 | 0 | 0 | 0 | 1-43 c8/test/fixtures | 30.97 | 37.5 | 21.42 | 30.97 | async.js | 100 | 100 | 100 | 100 | c8-ignore-next.js | 54.54 | 0 | 0 | 54.54 | 1,3-4,9,12,17-19,21-22