diff --git a/package.json b/package.json
index cec9c047f404ecb4241fcf5f29c3f4686e7e2980..da32adc2408193b265d19b8529951d8f0e94d3c6 100644
--- a/package.json
+++ b/package.json
@@ -62,7 +62,6 @@
     "cozy-ui": "^86.0.0",
     "d3": "^6.0.0",
     "detect-browser": "^5.1.1",
-    "eslint-plugin-testing-library": "^6.2.0",
     "file-saver": "^2.0.5",
     "global": "^4.4.0",
     "handlebars": "^4.7.7",
@@ -117,6 +116,7 @@
     "eslint-plugin-prettier": "^5.0.0",
     "eslint-plugin-react": "7.33.2",
     "eslint-plugin-react-hooks": "^4.6.0",
+    "eslint-plugin-testing-library": "^6.2.2",
     "git-directory-deploy": "1.5.1",
     "jest-canvas-mock": "^2.4.0",
     "jest-junit": "^16.0.0",
diff --git a/yarn.lock b/yarn.lock
index 8f3dc7ada817ba30902b36a087f5c3fce418027c..b75a633450ecd89e95d838c70496787dad11eb77 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -8018,10 +8018,10 @@ eslint-plugin-react@7.33.2:
     semver "^6.3.1"
     string.prototype.matchall "^4.0.8"
 
-eslint-plugin-testing-library@^6.2.0:
-  version "6.2.0"
-  resolved "https://registry.yarnpkg.com/eslint-plugin-testing-library/-/eslint-plugin-testing-library-6.2.0.tgz#af3340b783c881eb19ec5ac6b3a4bfe8ab4a1f74"
-  integrity sha512-+LCYJU81WF2yQ+Xu4A135CgK8IszcFcyMF4sWkbiu6Oj+Nel0TrkZq/HvDw0/1WuO3dhDQsZA/OpEMGd0NfcUw==
+eslint-plugin-testing-library@^6.2.2:
+  version "6.2.2"
+  resolved "https://registry.yarnpkg.com/eslint-plugin-testing-library/-/eslint-plugin-testing-library-6.2.2.tgz#67e84ff891a2b3a8078ced0afa95ee6f343c00c1"
+  integrity sha512-1E94YOTUDnOjSLyvOwmbVDzQi/WkKm3WVrMXu6SmBr6DN95xTGZmI6HJ/eOkSXh/DlheRsxaPsJvZByDBhWLVQ==
   dependencies:
     "@typescript-eslint/utils" "^5.58.0"