From 4f9216853b7364a52cf8d15ad9ede0d6899ebc4a Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 3 Jun 2018 11:27:08 -0700 Subject: [PATCH] Add more paths to jest ignore --- scripts/jest/config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/jest/config.js b/scripts/jest/config.js index 66c76051..4c9f7717 100644 --- a/scripts/jest/config.js +++ b/scripts/jest/config.js @@ -2,7 +2,12 @@ module.exports = { coveragePathIgnorePatterns: ['/node_modules/', '/packages/react-native-web/src/vendor/'], - modulePathIgnorePatterns: ['/packages/react-native-web/dist/'], + modulePathIgnorePatterns: [ + '/packages/benchmarks/', + '/packages/examples/', + '/packages/react-native-web/dist/', + '/packages/website/' + ], rootDir: process.cwd(), roots: ['/packages'], setupFiles: ['jest-canvas-mock'],