From 6fbd6c4d6b8971777b73f2b3bf6348d22dfa0429 Mon Sep 17 00:00:00 2001 From: Tarik Gul <47201679+TarikGul@users.noreply.github.com> Date: Mon, 6 Nov 2023 09:27:44 -0500 Subject: [PATCH] test: fix jest tests running twice (#314) --- jest.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jest.config.js b/jest.config.js index 9e36bc93..f8874ffa 100644 --- a/jest.config.js +++ b/jest.config.js @@ -14,7 +14,7 @@ module.exports = { testEnvironment: 'node', maxConcurrency: 3, maxWorkers: '50%', - testPathIgnorePatterns: ['/lib/', '/node_modules/'], + testPathIgnorePatterns: ['/lib/', '/node_modules/', '/build/'], // The below resolves `jest-haste-map:...` - modulePathIgnorePatterns: ['/lib'] + modulePathIgnorePatterns: ['/lib', '/build'] };