From 892ca8137eea69198c3f5b75cfeb375a4aebce53 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Tue, 27 Aug 2019 09:08:49 -0700 Subject: [PATCH] Disabled DevTools tests from yarn-build target --- scripts/jest/config.build.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/jest/config.build.js b/scripts/jest/config.build.js index cbbf35d704c7e..558bece9eaca8 100644 --- a/scripts/jest/config.build.js +++ b/scripts/jest/config.build.js @@ -37,6 +37,10 @@ packages.forEach(name => { module.exports = Object.assign({}, baseConfig, { // Redirect imports to the compiled bundles moduleNameMapper, + modulePathIgnorePatterns: [ + ...baseConfig.modulePathIgnorePatterns, + 'packages/react-devtools-shared', + ], // Don't run bundle tests on -test.internal.* files testPathIgnorePatterns: ['/node_modules/', '-test.internal.js$'], // Exclude the build output from transforms