karma-coverage-istanbul-reporter
Advanced tools
Comparing version 2.0.6 to 2.1.0
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.1.0"></a> | ||
# [2.1.0](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v2.0.6...v2.1.0) (2019-07-24) | ||
### Features | ||
* **config:** support istanbul-api instrumentation configuration ([c4f7a9c](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/commit/c4f7a9c)), closes [#73](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/issues/73) | ||
<a name="2.0.6"></a> | ||
@@ -7,0 +17,0 @@ ## [2.0.6](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v2.0.5...v2.0.6) (2019-07-20) |
{ | ||
"name": "karma-coverage-istanbul-reporter", | ||
"version": "2.0.6", | ||
"version": "2.1.0", | ||
"description": "A karma reporter that uses the latest istanbul 1.x APIs (with full sourcemap support) to report coverage.", | ||
@@ -5,0 +5,0 @@ "main": "src/reporter.js", |
@@ -92,3 +92,9 @@ # karma-coverage-istanbul-reporter | ||
verbose: true // output config used by istanbul for debugging | ||
verbose: true, // output config used by istanbul for debugging | ||
// `instrumentation` is used to configure Istanbul API package. | ||
instrumentation: { | ||
// To include `node_modules` code in the report. | ||
'default-excludes': false | ||
} | ||
} | ||
@@ -95,0 +101,0 @@ }); |
@@ -85,2 +85,3 @@ const istanbul = require('istanbul-api'); | ||
const reportConfig = istanbul.config.loadObject({ | ||
instrumentation: Object.assign({}, coverageConfig.instrumentation), | ||
verbose: coverageConfig.verbose === true, | ||
@@ -87,0 +88,0 @@ reporting: Object.assign({}, coverageConfig, reportConfigOverride) |
27650
276
128