From 0483a05d30931cef0c4429a1ca1fab545b31b7c9 Mon Sep 17 00:00:00 2001
From: Bastien Dumont <bdumont@grandlyon.com>
Date: Tue, 30 Apr 2024 11:10:07 +0200
Subject: [PATCH] disable unnecessary act

---
 .eslintrc.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.eslintrc.js b/.eslintrc.js
index ecee86960..e202a32a5 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -52,6 +52,9 @@ module.exports = {
       extends: ['plugin:jest/recommended', 'plugin:testing-library/react'],
       rules: {
         'jest/no-mocks-import': 0,
+
+        // Might be fixed with "@testing-library/dom" v10 but it requires node 18 or above
+        'testing-library/no-unnecessary-act': 0,
       },
     },
   ],
-- 
GitLab