How to use the matcherFor function from istanbul
Find comprehensive JavaScript istanbul.matcherFor code examples handpicked from public code repositorys.
GitHub: 12spokes/rtd
20 21 22 23 24 25 26 27 28 29
}; core.getCoverageObject = getCoverageObject; //returns a matcher that returns all JS files under root //except when the file is anywhere under `node_modules` //does not use istanbul.matcherFor() so as to expose //a synchronous interface function getRootMatcher(root) { return function (file) { if (file.indexOf(root) !== 0) {
41
0
14
48 49 50 51 52 53 54 55 56 57
} }); Object.defineProperty(exports, 'matcherFor', { enumerable: true, get: function get() { return _istanbul.matcherFor; } }); Object.defineProperty(exports, 'Writer', { enumerable: true,
1
0
0
istanbul.Collector is the most popular function in istanbul (108 examples)