Fix Jest config for view tests

This will allow running the view tests in `src/view`, rather than
only allowing these tests to be run from the root directory.
This commit is contained in:
Koen Vlaswinkel
2022-12-05 13:59:09 +01:00
parent 795a0bc46d
commit a19a3297c5

View File

@@ -171,7 +171,7 @@ const config: Config = {
"^.+\\.tsx?$": [
"ts-jest",
{
tsconfig: "src/view/tsconfig.spec.json",
tsconfig: "<rootDir>/tsconfig.spec.json",
},
],
node_modules: [