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

15 lines
274 B
JavaScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
var istanbulLibSourceMaps = require('istanbul-lib-source-maps')
var cache = {}
function get (basePath, opts) {
if (!cache[basePath]) {
cache[basePath] = istanbulLibSourceMaps.createSourceMapStore(opts)
}
return cache[basePath]
}
module.exports = {
get: get
}