Преглед изворни кода

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

`jest --watch` fails with open file limit reached:
Rahul Kadyan пре 6 година
родитељ
комит
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'