Files
simple-mail-cleaner/backend/node_modules/pino-pretty/coverage-map.js
2026-01-22 15:49:12 +01:00

10 lines
294 B
JavaScript

'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')
}