move tests folder to the root

This commit is contained in:
Sylvain Briat 2024-02-16 08:36:59 +01:00
parent 540c63d297
commit 909ef04e69
29 changed files with 4 additions and 4 deletions

View File

@ -96,13 +96,13 @@
"prisma.service.ts",
"main.ts"
],
"rootDir": "src",
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
"./src/**/*.(t|j)s"
],
"coveragePathIgnorePatterns": [
".constants.ts",
@ -116,8 +116,8 @@
],
"coverageDirectory": "../coverage",
"moduleNameMapper": {
"^@modules(.*)": "<rootDir>/modules/$1",
"^@src(.*)": "<rootDir>$1"
"^@modules(.*)": "<rootDir>/src/modules/$1",
"^@src(.*)": "<rootDir>/src/$1"
},
"testEnvironment": "node"
}