aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/config/jest
diff options
context:
space:
mode:
authorKevin Silva <kevin.silva@sonarsource.com>2023-04-14 17:49:21 +0200
committersonartech <sonartech@sonarsource.com>2023-04-19 20:02:47 +0000
commit4e767e0f8f19a19a20a4f9faa8190201c8ea3eae (patch)
tree8150308d9cdb082e17af15070cd23dd5513b66af /server/sonar-web/design-system/config/jest
parentb0fa5854cdf8d593a307d08891c454b8014e3041 (diff)
downloadsonarqube-4e767e0f8f19a19a20a4f9faa8190201c8ea3eae.tar.gz
sonarqube-4e767e0f8f19a19a20a4f9faa8190201c8ea3eae.zip
SONAR-19020 Create indicator-type components for the new UI
Diffstat (limited to 'server/sonar-web/design-system/config/jest')
-rw-r--r--server/sonar-web/design-system/config/jest/SetupReactTestingLibrary.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/design-system/config/jest/SetupReactTestingLibrary.ts b/server/sonar-web/design-system/config/jest/SetupReactTestingLibrary.ts
index afaa0a4fcfb..a8e15b082c5 100644
--- a/server/sonar-web/design-system/config/jest/SetupReactTestingLibrary.ts
+++ b/server/sonar-web/design-system/config/jest/SetupReactTestingLibrary.ts
@@ -19,7 +19,9 @@
*/
import '@testing-library/jest-dom';
import { configure } from '@testing-library/react';
+import React from 'react';
configure({
asyncUtilTimeout: 3000,
});
+global.React = React;