chore(jest): ignore node_modules from watched files (#162)

`jest --watch` fails with open file limit reached:
This commit is contained in:
Rahul Kadyan 2019-10-09 00:07:31 +05:30 committed by Evan You
parent 80e5b16f99
commit 5c4478b00b

View File

@ -10,6 +10,7 @@ module.exports = {
coverageDirectory: 'coverage',
coverageReporters: ['html', 'lcov', 'text'],
collectCoverageFrom: ['packages/*/src/**/*.ts'],
watchPathIgnorePatterns: ['/node_modules/'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
moduleNameMapper: {
'^@vue/(.*?)$': '<rootDir>/packages/$1/src'