fix(test): remove warning about isolatedModules in ts-jest diagnostics

This warning spams the output and currently is not critical to us.
Setting `isolatedModules: true` in the tsconfig.json as suggested breaks
the module resolution and imports.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson
2026-01-12 18:27:09 +01:00
parent 69ba5c5b8b
commit 51407598d9
4 changed files with 16 additions and 4 deletions
+4 -1
View File
@@ -124,7 +124,10 @@
"^.+\\.(t|j)s$": [
"ts-jest",
{
"tsconfig": "test/tsconfig.json"
"tsconfig": "test/tsconfig.json",
"diagnostics": {
"ignoreCodes": [151002]
}
}
]
},
+4 -1
View File
@@ -20,7 +20,10 @@
"ts-jest",
{
"tsconfig" : "tsconfig.test.json",
"useESM" : true
"useESM" : true,
"diagnostics": {
"ignoreCodes": [151002]
}
}
]
}
+4 -1
View File
@@ -19,7 +19,10 @@
"ts-jest",
{
"tsconfig" : "tsconfig.test.json",
"useESM" : true
"useESM" : true,
"diagnostics": {
"ignoreCodes": [151002]
}
}
]
}
+4 -1
View File
@@ -19,7 +19,10 @@
"ts-jest",
{
"tsconfig" : "tsconfig.test.json",
"useESM" : true
"useESM" : true,
"diagnostics": {
"ignoreCodes": [151002]
}
}
]
}