refactor(framework): Align configuration and fixes (#9246)

* refactor(framework): Align configuration and fixes

* refactor(framework): Align configuration and fixes

* move framework

* rm unnecessary script

* update jest config
This commit is contained in:
Adrien de Peretti
2024-09-23 13:07:30 +02:00
committed by GitHub
parent 9f72fb5902
commit 94e07c8da0
82 changed files with 42 additions and 49 deletions

View File

@@ -0,0 +1,24 @@
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`],
}