move tests folder to the root
This commit is contained in:
parent
540c63d297
commit
909ef04e69
|
@ -96,13 +96,13 @@
|
||||||
"prisma.service.ts",
|
"prisma.service.ts",
|
||||||
"main.ts"
|
"main.ts"
|
||||||
],
|
],
|
||||||
"rootDir": "src",
|
"rootDir": ".",
|
||||||
"testRegex": ".*\\.spec\\.ts$",
|
"testRegex": ".*\\.spec\\.ts$",
|
||||||
"transform": {
|
"transform": {
|
||||||
"^.+\\.(t|j)s$": "ts-jest"
|
"^.+\\.(t|j)s$": "ts-jest"
|
||||||
},
|
},
|
||||||
"collectCoverageFrom": [
|
"collectCoverageFrom": [
|
||||||
"**/*.(t|j)s"
|
"./src/**/*.(t|j)s"
|
||||||
],
|
],
|
||||||
"coveragePathIgnorePatterns": [
|
"coveragePathIgnorePatterns": [
|
||||||
".constants.ts",
|
".constants.ts",
|
||||||
|
@ -116,8 +116,8 @@
|
||||||
],
|
],
|
||||||
"coverageDirectory": "../coverage",
|
"coverageDirectory": "../coverage",
|
||||||
"moduleNameMapper": {
|
"moduleNameMapper": {
|
||||||
"^@modules(.*)": "<rootDir>/modules/$1",
|
"^@modules(.*)": "<rootDir>/src/modules/$1",
|
||||||
"^@src(.*)": "<rootDir>$1"
|
"^@src(.*)": "<rootDir>/src/$1"
|
||||||
},
|
},
|
||||||
"testEnvironment": "node"
|
"testEnvironment": "node"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue