From 9a06740fb885ca7c7655342f9681c878226cc567 Mon Sep 17 00:00:00 2001 From: mutajonathan Date: Tue, 17 Dec 2024 17:10:22 +0300 Subject: [PATCH] adding testPathIgnorePatterns for e2e --- jest.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jest.config.js b/jest.config.js index 64d28d6..d7b03cb 100644 --- a/jest.config.js +++ b/jest.config.js @@ -12,5 +12,9 @@ module.exports = { dexie: require.resolve('dexie'), }, setupFilesAfterEnv: ['/src/setup-tests.ts'], + testPathIgnorePatterns: [ + "/node_modules/", + "/e2e/" // Ignore the e2e directory containing Playwright tests + ], testEnvironment: 'jsdom', };