projecte_ionic/node_modules/karma-coverage/lib/source-map-store.js
2022-02-09 18:30:03 +01:00

15 lines
274 B
JavaScript
Executable file

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
}