diff options
author | Kevin Silva <kevin.silva@sonarsource.com> | 2023-04-14 17:49:21 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-04-19 20:02:47 +0000 |
commit | 4e767e0f8f19a19a20a4f9faa8190201c8ea3eae (patch) | |
tree | 8150308d9cdb082e17af15070cd23dd5513b66af /server/sonar-web/design-system/config/jest | |
parent | b0fa5854cdf8d593a307d08891c454b8014e3041 (diff) | |
download | sonarqube-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.ts | 2 |
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; |