mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-06-23 04:10:17 +00:00
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:
@@ -124,7 +124,10 @@
|
||||
"^.+\\.(t|j)s$": [
|
||||
"ts-jest",
|
||||
{
|
||||
"tsconfig": "test/tsconfig.json"
|
||||
"tsconfig": "test/tsconfig.json",
|
||||
"diagnostics": {
|
||||
"ignoreCodes": [151002]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -20,7 +20,10 @@
|
||||
"ts-jest",
|
||||
{
|
||||
"tsconfig" : "tsconfig.test.json",
|
||||
"useESM" : true
|
||||
"useESM" : true,
|
||||
"diagnostics": {
|
||||
"ignoreCodes": [151002]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -19,7 +19,10 @@
|
||||
"ts-jest",
|
||||
{
|
||||
"tsconfig" : "tsconfig.test.json",
|
||||
"useESM" : true
|
||||
"useESM" : true,
|
||||
"diagnostics": {
|
||||
"ignoreCodes": [151002]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -19,7 +19,10 @@
|
||||
"ts-jest",
|
||||
{
|
||||
"tsconfig" : "tsconfig.test.json",
|
||||
"useESM" : true
|
||||
"useESM" : true,
|
||||
"diagnostics": {
|
||||
"ignoreCodes": [151002]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user