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:
@@ -171,7 +171,7 @@ const config: Config = {
|
|||||||
"^.+\\.tsx?$": [
|
"^.+\\.tsx?$": [
|
||||||
"ts-jest",
|
"ts-jest",
|
||||||
{
|
{
|
||||||
tsconfig: "src/view/tsconfig.spec.json",
|
tsconfig: "<rootDir>/tsconfig.spec.json",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
node_modules: [
|
node_modules: [
|
||||||
|
|||||||
Reference in New Issue
Block a user