fix(test): limit Jest discovery to application sources

This commit is contained in:
mihir 2026-10-03 18:40:15 +05:30
parent 5a503c7520
commit 0400275db9
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ module.exports = {
preset: 'ts-jest', preset: 'ts-jest',
moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1' }, moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1' },
testEnvironment: 'node', testEnvironment: 'node',
roots: ['<rootDir>/src', '<rootDir>/test'],
testTimeout: 60000, testTimeout: 60000,
testMatch: ['**/*.spec.ts'], testMatch: ['**/*.spec.ts'],
collectCoverageFrom: [ collectCoverageFrom: [