diff --git a/test/coverage.js b/test/coverage.js index 156cb21b93..f25c4956fb 100644 --- a/test/coverage.js +++ b/test/coverage.js @@ -17,8 +17,7 @@ const REPO_PATH = toUpperDriveLetter(path.join(__dirname, '..')); exports.initialize = function (loaderConfig) { const instrumenter = iLibInstrument.createInstrumenter(); loaderConfig.nodeInstrumenter = function (contents, source) { - if (minimatch(source, '**/test/**/*.test.js')) { - // tests don't get instrumented + if (minimatch(source, '**/test/**')) { // {{SQL CARBON EDIT}} Don't instrument test helper stuff either return contents; } // Try to find a .map file