diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2023-06-02 08:59:38 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-06-02 20:02:45 +0000 |
commit | 2bed98c4ceafc4eb913f16c11a9e72508096636c (patch) | |
tree | 8f08099fd464b4ff2c03423319a2bb91b4a5a192 /server/sonar-web/src/main/js/helpers | |
parent | 2a718cb91427aeb3ddb0adb35c15f81cee18461f (diff) | |
download | sonarqube-2bed98c4ceafc4eb913f16c11a9e72508096636c.tar.gz sonarqube-2bed98c4ceafc4eb913f16c11a9e72508096636c.zip |
SONAR-18425 Migrate measures page tests to RTL
Diffstat (limited to 'server/sonar-web/src/main/js/helpers')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/mocks/metrics.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/mocks/metrics.ts b/server/sonar-web/src/main/js/helpers/mocks/metrics.ts index 0d437cdd034..cc5f689ba96 100644 --- a/server/sonar-web/src/main/js/helpers/mocks/metrics.ts +++ b/server/sonar-web/src/main/js/helpers/mocks/metrics.ts @@ -17,7 +17,9 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -export const DEFAULT_METRICS = { +import { Dict, Metric } from '../../types/types'; + +export const DEFAULT_METRICS: Dict<Metric> = { new_technical_debt: { id: 'AXJMbIl_PAOIsUIE3guE', key: 'new_technical_debt', |