UNPKG

karma-coverage

Version:
15 lines (11 loc) 274 B
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 }