diff options
Diffstat (limited to 'node_modules/istanbul-lib-instrument/dist/source-coverage.js')
-rw-r--r-- | node_modules/istanbul-lib-instrument/dist/source-coverage.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/istanbul-lib-instrument/dist/source-coverage.js b/node_modules/istanbul-lib-instrument/dist/source-coverage.js index eac98f551..f2fba09fc 100644 --- a/node_modules/istanbul-lib-instrument/dist/source-coverage.js +++ b/node_modules/istanbul-lib-instrument/dist/source-coverage.js @@ -106,6 +106,18 @@ var SourceCoverage = function (_classes$FileCoverage) { counts.push(0); return counts.length - 1; } + + /** + * Assigns an input source map to the coverage that can be used + * to remap the coverage output to the original source + * @param sourceMap {object} the source map + */ + + }, { + key: 'inputSourceMap', + value: function inputSourceMap(sourceMap) { + this.data.inputSourceMap = sourceMap; + } }, { key: 'freeze', value: function freeze() { |