From 3435608c6a3a20c348b0d22b458267f8e6ae46cb Mon Sep 17 00:00:00 2001 From: Alberto Diaz Date: Fri, 3 Sep 2021 17:29:15 +0200 Subject: [PATCH] Remove ts-jest warning when running tests * This simple fix removes the annoying warning displayed below: "ts-jest[config] (WARN) Unable to find the root of the project where ts-jest has been installed." Signed-off-by: Alberto Diaz --- frontend/jest.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/jest.config.js b/frontend/jest.config.js index 930078f7..e9948cc1 100644 --- a/frontend/jest.config.js +++ b/frontend/jest.config.js @@ -3,6 +3,7 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig-test.json', + packageJson: 'package.json', }, API_URL: 'wss://api.url', },