diff --git a/jest.config.js b/jest.config.js index d0bd05e..1de4ea3 100644 --- a/jest.config.js +++ b/jest.config.js @@ -12,11 +12,12 @@ module.exports = { ...pathsToModuleNameMapper(compilerOptions.paths), '^masterchat$': '/submodule/masterchat/src', }, - modulePathIgnorePatterns: [ - '/submodule', - ], modulePaths: [''], testRegex: '.*\\.spec\\.ts$', + testPathIgnorePatterns: [ + '/node_modules/', + '/submodule/', + ], transform: { '^.+\\.(t|j)s$': 'ts-jest' }, coverageDirectory: '../coverage', collectCoverageFrom: ['**/*.(t|j)s'],