fix(test): limit Jest discovery to application sources
This commit is contained in:
parent
5a503c7520
commit
0400275db9
|
|
@ -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: [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue