From fbf93ad6a5ecc5c67528a4814b970956fba4bcab Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Sat, 4 Dec 2021 10:42:20 +0100 Subject: [PATCH] test: add jest watchPathIgnorePatterns (#12955) --- jest.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/jest.config.ts b/jest.config.ts index 0ddfc41e98..6f09d687b3 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -34,6 +34,7 @@ const config: InitialOptionsTsJest = { snapshotSerializers: ['<rootDir>/test/newline-snapshot-serializer.ts'], testEnvironment: 'node', testRunner: 'jest-circus/runner', + watchPathIgnorePatterns: ['<rootDir>/.cache/', '<rootDir>/coverage/'], globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json', -- GitLab