From 96e07cad767f0214ea0c92eb98dc33777947fbdc Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 24 Jul 2024 11:33:16 +0200 Subject: [PATCH] Do not run tests of compiled cronjobs Without this change, running `npm test` after running `npm run build-cronjobs` will result in failing tests. --- jest.config.cjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jest.config.cjs b/jest.config.cjs index 54193a9cf84..d8279168e39 100644 --- a/jest.config.cjs +++ b/jest.config.cjs @@ -193,9 +193,7 @@ const customJestConfig = { // ], // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped - // testPathIgnorePatterns: [ - // "/node_modules/" - // ], + testPathIgnorePatterns: ["/node_modules/", "/dist/"], // The regexp pattern or array of patterns that Jest uses to detect test files // testRegex: [],