RESOLVES FRMW-2712 **What** Refactor orchestration packages to use the latest configuration of typescript and fixes issues
25 lines
528 B
JavaScript
25 lines
528 B
JavaScript
module.exports = {
|
|
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`],
|
|
}
|