Add more paths to jest ignore

This commit is contained in:
Nicolas Gallagher
2018-06-03 11:27:08 -07:00
parent 14f7dfd515
commit 4f9216853b

View File

@@ -2,7 +2,12 @@
module.exports = {
coveragePathIgnorePatterns: ['/node_modules/', '<rootDir>/packages/react-native-web/src/vendor/'],
modulePathIgnorePatterns: ['<rootDir>/packages/react-native-web/dist/'],
modulePathIgnorePatterns: [
'<rootDir>/packages/benchmarks/',
'<rootDir>/packages/examples/',
'<rootDir>/packages/react-native-web/dist/',
'<rootDir>/packages/website/'
],
rootDir: process.cwd(),
roots: ['<rootDir>/packages'],
setupFiles: ['jest-canvas-mock'],