mirror of
https://github.com/strapi/strapi.git
synced 2025-08-09 17:26:11 +00:00
Make jest does not watch .json file in the --watch mode
This commit is contained in:
parent
5104a57447
commit
d85a387b24
@ -3,4 +3,5 @@ module.exports = {
|
|||||||
setupFilesAfterEnv: ['<rootDir>/test/unit.setup.js'],
|
setupFilesAfterEnv: ['<rootDir>/test/unit.setup.js'],
|
||||||
modulePathIgnorePatterns: ['.cache'],
|
modulePathIgnorePatterns: ['.cache'],
|
||||||
testMatch: ['/**/__tests__/**/*.[jt]s?(x)'],
|
testMatch: ['/**/__tests__/**/*.[jt]s?(x)'],
|
||||||
|
watchPathIgnorePatterns: ['<rootDir>/.*\\.json'],
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user