1
0

Better org of tests

This commit is contained in:
2020-03-06 13:08:13 -05:00
parent 6c101bb7b2
commit 62ab887ada
4 changed files with 40 additions and 36 deletions

View File

@@ -1,5 +1,8 @@
module.exports = {
roots: ['src'],
roots: ['tests'],
moduleNameMapper: {
'src/(.*)': '<rootDir>/src/$1',
},
preset: 'ts-jest',
testEnvironment: 'node',
coverageReporters: [