From d587b148430e0fc17f723211a8d0b8653b6a1eff Mon Sep 17 00:00:00 2001 From: Balaj Marius Date: Tue, 29 Oct 2024 15:16:16 +0200 Subject: [PATCH] fix: jest --- jest.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jest.config.ts b/jest.config.ts index 38905d5..45841ac 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -8,10 +8,11 @@ const createJestConfig = jest({ const config: Config = { coverageProvider: "v8", - testEnvironment: "jsdom", + testEnvironment: "node", moduleNameMapper: { "^@/(.*)$": "/$1", }, + testPathIgnorePatterns: ["/node_modules/", "/dist/"], }; export default createJestConfig(config);