mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
* add sanitize-html to be used with dto * add dto for controllers * add vaalidation to check token not empty * update test config * add validation pipe on test setup * fix spec * fix params casing * update dto for empt checks * update reset password dto * only check for options to be defined * update specs * update dto and spec * Remove invalid decorator * update package-lock * update thread dto * update user dto * fix email * make comment req params attributes as optional * fix specs
17 lines
495 B
JSON
17 lines
495 B
JSON
{
|
|
"moduleFileExtensions": ["js", "json", "ts"],
|
|
"rootDir": ".",
|
|
"testEnvironment": "node",
|
|
"testRegex": ".e2e-spec.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"moduleNameMapper": {
|
|
"^src/(.*)": "<rootDir>/../src/$1",
|
|
"@plugins/(.*)": "<rootDir>/../plugins/$1",
|
|
"@dto/(.*)": "<rootDir>/../src/dto/$1",
|
|
"@services/(.*)": "<rootDir>/../src/services/$1",
|
|
"@controllers/(.*)": "<rootDir>/../src/controllers/$1",
|
|
"@ee/(.*)": "<rootDir>/../ee/$1"
|
|
}
|
|
}
|