]> source.dussan.org Git - sonarqube.git/commitdiff
[NO-JIRA] Fix RTL timeout FPs
authorPhilippe Perrin <philippe.perrin@sonarsource.com>
Wed, 20 Apr 2022 10:57:18 +0000 (12:57 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 20 Apr 2022 20:03:43 +0000 (20:03 +0000)
server/sonar-web/config/jest/SetupReactTestingLibrary.ts

index 7f2008bc384d40eb01b240066561cff9c1761e41..6a000da4d2235c619beb0592a12d8f2b14a7a41f 100644 (file)
@@ -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
+});