2
0
Эх сурвалжийг харах

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

`jest --watch` fails with open file limit reached:
Rahul Kadyan 6 жил өмнө
parent
commit
5c4478b00b
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      jest.config.js

+ 1 - 0
jest.config.js

@@ -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'