refactor(modules-sdk): Align configuration and fixes (#9239)

* refactor(modules-sdk): Align configuration and fixes

* typo

* fix configuration
This commit is contained in:
Adrien de Peretti
2024-09-23 12:12:26 +02:00
committed by GitHub
parent d0f1028820
commit 919d19095a
10 changed files with 88 additions and 42 deletions
+3 -1
View File
@@ -1,15 +1,17 @@
module.exports = {
transform: {
"^.+\\.[jt]s?$": [
"^.+\\.[jt]s$": [
"@swc/jest",
{
jsc: {
parser: { syntax: "typescript", decorators: true },
transform: { decoratorMetadata: true },
target: "ES2021",
},
},
],
},
testPathIgnorePatterns: [`dist/`, `node_modules/`],
testEnvironment: `node`,
moduleFileExtensions: [`js`, `ts`],
}