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:
committed by
GitHub
parent
9f72fb5902
commit
94e07c8da0
24
packages/core/framework/jest.config.js
Normal file
24
packages/core/framework/jest.config.js
Normal 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`],
|
||||
}
|
||||
Reference in New Issue
Block a user