aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/config/jest
diff options
context:
space:
mode:
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;