NET-Web-API-w-Angular/my-app/node_modules/karma-coverage/lib/coverage-map.js

23 lines
277 B
JavaScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
// Coverage Map
// ============
var coverageMap = {}
function add (coverageObj) {
coverageMap[coverageObj.path] = coverageObj
}
function get () {
return coverageMap
}
function reset () {
coverageMap = {}
}
module.exports = {
add: add,
get: get,
reset: reset
}