From a19a3297c5733b16095ed845ff155f69da41733d Mon Sep 17 00:00:00 2001 From: Koen Vlaswinkel Date: Mon, 5 Dec 2022 13:59:09 +0100 Subject: [PATCH] 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. --- extensions/ql-vscode/src/view/jest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/ql-vscode/src/view/jest.config.ts b/extensions/ql-vscode/src/view/jest.config.ts index a877aca91..500689302 100644 --- a/extensions/ql-vscode/src/view/jest.config.ts +++ b/extensions/ql-vscode/src/view/jest.config.ts @@ -171,7 +171,7 @@ const config: Config = { "^.+\\.tsx?$": [ "ts-jest", { - tsconfig: "src/view/tsconfig.spec.json", + tsconfig: "/tsconfig.spec.json", }, ], node_modules: [