From f1ee1a87808136d8633fec4f24f0f96f908b91b1 Mon Sep 17 00:00:00 2001 From: Nazim Hajidin Date: Mon, 7 Nov 2016 11:26:40 -0500 Subject: [PATCH] Don't look for babelrc file during test --- packages/react-scripts/config/jest/transform.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-scripts/config/jest/transform.js b/packages/react-scripts/config/jest/transform.js index 11a0149f97d..145bd86cc9a 100644 --- a/packages/react-scripts/config/jest/transform.js +++ b/packages/react-scripts/config/jest/transform.js @@ -9,5 +9,6 @@ const babelJest = require('babel-jest'); module.exports = babelJest.createTransformer({ - presets: [require.resolve('babel-preset-react-app')] + presets: [require.resolve('babel-preset-react-app')], + babelrc: false });