aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/tsconfig.base.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/tsconfig.base.json b/server/sonar-web/tsconfig.base.json
index 943439ba2c6..b5bcc826844 100644
--- a/server/sonar-web/tsconfig.base.json
+++ b/server/sonar-web/tsconfig.base.json
@@ -39,7 +39,11 @@
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
// "typeRoots": [], /* Specify multiple folders that act like `./node_modules/@types`. */
- // "types": [], /* Specify type package names to be included without being referenced in a source file. */
+ "types": [ /* Specify type package names to be included without being referenced in a source file. */
+ "node",
+ "jest",
+ "@testing-library/jest-dom"
+ ],
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
// "resolveJsonModule": true, /* Enable importing .json files */
// "noResolve": true, /* Disallow `import`s, `require`s or `<reference>`s from expanding the number of files TypeScript should add to a project. */