diff --git a/server/jest.config.js b/server/jest.config.js index f3f38ac9..58af244d 100644 --- a/server/jest.config.js +++ b/server/jest.config.js @@ -1,10 +1,11 @@ /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ module.exports = { - preset: 'ts-jest', - testEnvironment: 'node', - setupFiles: ["/test/setup-tests.ts"], - moduleNameMapper: { - "@lib/(.*)": "/src/lib/$1", - "@routes/(.*)": "/src/routes/$1" - }, -}; + preset: "ts-jest", + testEnvironment: "node", + setupFiles: ["/test/setup-tests.ts"], + moduleNameMapper: { + "@lib/(.*)": "/src/lib/$1", + "@routes/(.*)": "/src/routes/$1" + }, + testPathIgnorePatterns: ["/node_modules/", "/dist/"] +}