aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/config
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2022-04-20 12:57:18 +0200
committersonartech <sonartech@sonarsource.com>2022-04-20 20:03:43 +0000
commit63609a614773ee6294e5ce431d3ceea7c30c88de (patch)
tree124a126b9d3c7ec425fa179a59cfcf8e206dced0 /server/sonar-web/config
parent9c22c14a19b1db62fb83b96fd54d7ff017067328 (diff)
downloadsonarqube-63609a614773ee6294e5ce431d3ceea7c30c88de.tar.gz
sonarqube-63609a614773ee6294e5ce431d3ceea7c30c88de.zip
[NO-JIRA] Fix RTL timeout FPs
Diffstat (limited to 'server/sonar-web/config')
-rw-r--r--server/sonar-web/config/jest/SetupReactTestingLibrary.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/sonar-web/config/jest/SetupReactTestingLibrary.ts b/server/sonar-web/config/jest/SetupReactTestingLibrary.ts
index 7f2008bc384..6a000da4d22 100644
--- a/server/sonar-web/config/jest/SetupReactTestingLibrary.ts
+++ b/server/sonar-web/config/jest/SetupReactTestingLibrary.ts
@@ -17,4 +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.
*/
+import { configure } from '@testing-library/dom';
import '@testing-library/jest-dom';
+
+configure({
+ asyncUtilTimeout: 2000
+});