source: trip-planner-front/node_modules/karma-coverage/lib/coverage-map.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 277 bytes
Line 
1// Coverage Map
2// ============
3
4var coverageMap = {}
5
6function add (coverageObj) {
7 coverageMap[coverageObj.path] = coverageObj
8}
9
10function get () {
11 return coverageMap
12}
13
14function reset () {
15 coverageMap = {}
16}
17
18module.exports = {
19 add: add,
20 get: get,
21 reset: reset
22}
Note: See TracBrowser for help on using the repository browser.