diff options
author | David Cho-Lerat <david.cho-lerat@sonarsource.com> | 2023-11-22 16:33:28 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-11-24 20:02:45 +0000 |
commit | a85121e3693f36f42fc0ca518a3e5f1cd4e5c72e (patch) | |
tree | 611e37aa94f92cf7d0fd73b4779b99bfba12140b | |
parent | ca7086bf379f8519518e8e1503191b144cd4e49e (diff) | |
download | sonarqube-a85121e3693f36f42fc0ca518a3e5f1cd4e5c72e.tar.gz sonarqube-a85121e3693f36f42fc0ca518a3e5f1cd4e5c72e.zip |
SONAR-21017 TypeScript now needs to be told to use types from "@testing-library/jest-dom"
-rw-r--r-- | server/sonar-web/tsconfig.base.json | 6 |
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. */ |