diff --git a/jest.config.js b/jest.config.js index 1a96c96326..6145dd3f2f 100644 --- a/jest.config.js +++ b/jest.config.js @@ -8,6 +8,7 @@ module.exports = { "eslint/*/src/**/*.js", ], // The eslint/* packages use ESLint v6, which has dropped support for Node v6. + // TODO: Remove this process.version check in Babel 8. testRegex: `./(packages|codemods${ /^v6./u.test(process.version) ? "" : "|eslint" })/[^/]+/test/.+\\.m?js$`,