From 36908ddd8f930cbc360e7931ead8eda9f0f0ad02 Mon Sep 17 00:00:00 2001
From: Chris Beer <chris@cbeer.info>
Date: Wed, 13 Dec 2023 15:02:30 -0800
Subject: [PATCH] Update jest-dom

---
 jest.json    | 4 ++--
 package.json | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/jest.json b/jest.json
index b5713a9dc..947d95cd4 100644
--- a/jest.json
+++ b/jest.json
@@ -33,7 +33,7 @@
       "<rootDir>/__tests__/utils"
     ],
     "preset": "jest-puppeteer",
-    "setupFilesAfterEnv": ["@testing-library/jest-dom/extend-expect"],
+    "setupFilesAfterEnv": ["@testing-library/jest-dom/jest-globals"],
     "transformIgnorePatterns": [
       "<rootDir>/node_modules/(?!@react-dnd|react-dnd|dnd-core|react-dnd-html5-backend|dnd-multi-backend|rdndmb-html5-to-touch)"
     ],
@@ -58,7 +58,7 @@
     "preset": "jest-puppeteer",
     "setupFilesAfterEnv": [
       "<rootDir>/setupJestIntegration.js",
-      "@testing-library/jest-dom/extend-expect"
+      "@testing-library/jest-dom/jest-globals"
     ],
     "transformIgnorePatterns": [
       "<rootDir>/node_modules/(?!@react-dnd|react-dnd|dnd-core|react-dnd-html5-backend|dnd-multi-backend|rdndmb-html5-to-touch)"
diff --git a/package.json b/package.json
index 39fb0ef9c..7e4233517 100644
--- a/package.json
+++ b/package.json
@@ -94,7 +94,7 @@
     "@babel/preset-react": "^7.16.7",
     "@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
     "@testing-library/dom": "^9.2.0",
-    "@testing-library/jest-dom": "^5.16.5",
+    "@testing-library/jest-dom": "^6.1.5",
     "@testing-library/react": "^12.1.5",
     "@testing-library/user-event": "^14.4.3",
     "@typescript-eslint/eslint-plugin": "^5.15.0",
@@ -114,7 +114,7 @@
     "eslint-plugin-flowtype": "^8.0.3",
     "eslint-plugin-import": "^2.25.4",
     "eslint-plugin-jest": "^27.1.5",
-    "eslint-plugin-jest-dom": "^4.0.3",
+    "eslint-plugin-jest-dom": "^5.1.0",
     "eslint-plugin-jsx-a11y": "^6.4.1",
     "eslint-plugin-react": "^7.29.4",
     "eslint-plugin-react-hooks": "^4.6.0",
-- 
GitLab