Skip to content

Commit

Permalink
Remove ts-jest warning when running tests
Browse files Browse the repository at this point in the history
* 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 <alberto.diazdorado@tngtech.com>
  • Loading branch information
albertodiazdorado-tng committed Sep 3, 2021
1 parent dd7766d commit 3435608
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
globals: {
'ts-jest': {
tsconfig: '<rootDir>/tsconfig-test.json',
packageJson: 'package.json',
},
API_URL: 'wss://api.url',
},
Expand Down

0 comments on commit 3435608

Please sign in to comment.