chore(jest): ignore node_modules from watched files (#162)
`jest --watch` fails with open file limit reached:
This commit is contained in:
parent
80e5b16f99
commit
5c4478b00b
@ -10,6 +10,7 @@ module.exports = {
|
|||||||
coverageDirectory: 'coverage',
|
coverageDirectory: 'coverage',
|
||||||
coverageReporters: ['html', 'lcov', 'text'],
|
coverageReporters: ['html', 'lcov', 'text'],
|
||||||
collectCoverageFrom: ['packages/*/src/**/*.ts'],
|
collectCoverageFrom: ['packages/*/src/**/*.ts'],
|
||||||
|
watchPathIgnorePatterns: ['/node_modules/'],
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
|
||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
'^@vue/(.*?)$': '<rootDir>/packages/$1/src'
|
'^@vue/(.*?)$': '<rootDir>/packages/$1/src'
|
||||||
|
Loading…
Reference in New Issue
Block a user