diff --git a/babel.config.js b/babel.config.js index 3e1fb24d7565..0e1dc912662a 100644 --- a/babel.config.js +++ b/babel.config.js @@ -10,7 +10,7 @@ module.exports = { ], // Only build test files when testing ignore: - process.env.NODE_ENV == 'test' + process.env.NODE_ENV === 'test' ? [] : ['**/*.test.', '**/__tests__', '**/__mocks__'], }