refactor(orchestration): Align configuration and fixes (#9242)

RESOLVES FRMW-2712

**What**
Refactor orchestration packages to use the latest configuration of typescript and fixes issues
This commit is contained in:
Adrien de Peretti
2024-09-23 10:36:05 +00:00
committed by GitHub
parent 919d19095a
commit 79e3578932
9 changed files with 55 additions and 32 deletions
+20 -1
View File
@@ -1,5 +1,24 @@
module.exports = {
transform: { "^.+\\.[jt]s?$": "@swc/jest" },
transform: {
"^.+\\.[jt]s$": [
"@swc/jest",
{
jsc: {
parser: {
syntax: "typescript",
decorators: true,
},
transform: {
useDefineForClassFields: false,
legacyDecorator: true,
decoratorMetadata: true,
},
target: "ES2021",
},
},
],
},
testPathIgnorePatterns: [`dist/`, `node_modules/`],
testEnvironment: `node`,
moduleFileExtensions: [`js`, `ts`],
}