mihrab / node_modules /pino-pretty /coverage-map.js
abedelbahnasy55's picture
fix: public habits endpoint + seedDemoUser + fresh build v1.6
6491ad4 verified
'use strict'
module.exports = testFile => {
// Ignore coverage on files that do not have a direct corollary.
if (testFile.startsWith('test/')) return false
// Indicate the matching name, sans '.test.js', should be checked for coverage.
return testFile.replace(/\.test\.js$/, '.js')
}