diff --git a/ui/package-lock.json b/ui/package-lock.json
index 3a1e503c6..66a52d645 100644
--- a/ui/package-lock.json
+++ b/ui/package-lock.json
@@ -43,7 +43,7 @@
         "uuid": "^9.0.1"
       },
       "devDependencies": {
-        "@testing-library/jest-dom": "^6.2.0",
+        "@testing-library/jest-dom": "^6.4.2",
         "@testing-library/react": "^12.1.5",
         "@testing-library/react-hooks": "^7.0.2",
         "@testing-library/user-event": "^14.5.2",
@@ -4715,9 +4715,9 @@
       "dev": true
     },
     "node_modules/@testing-library/jest-dom": {
-      "version": "6.2.0",
-      "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.2.0.tgz",
-      "integrity": "sha512-+BVQlJ9cmEn5RDMUS8c2+TU6giLvzaHZ8sU/x0Jj7fk+6/46wPdwlgOPcpxS17CjcanBi/3VmGMqVr2rmbUmNw==",
+      "version": "6.4.2",
+      "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.4.2.tgz",
+      "integrity": "sha512-CzqH0AFymEMG48CpzXFriYYkOjk6ZGPCLMhW9e9jg3KMCn5OfJecF8GtGW7yGfR/IgCe3SX8BSwjdzI6BBbZLw==",
       "dev": true,
       "dependencies": {
         "@adobe/css-tools": "^4.3.2",
@@ -4736,6 +4736,7 @@
       },
       "peerDependencies": {
         "@jest/globals": ">= 28",
+        "@types/bun": "latest",
         "@types/jest": ">= 28",
         "jest": ">= 28",
         "vitest": ">= 0.32"
@@ -4744,6 +4745,9 @@
         "@jest/globals": {
           "optional": true
         },
+        "@types/bun": {
+          "optional": true
+        },
         "@types/jest": {
           "optional": true
         },
@@ -28190,9 +28194,9 @@
       }
     },
     "@testing-library/jest-dom": {
-      "version": "6.2.0",
-      "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.2.0.tgz",
-      "integrity": "sha512-+BVQlJ9cmEn5RDMUS8c2+TU6giLvzaHZ8sU/x0Jj7fk+6/46wPdwlgOPcpxS17CjcanBi/3VmGMqVr2rmbUmNw==",
+      "version": "6.4.2",
+      "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.4.2.tgz",
+      "integrity": "sha512-CzqH0AFymEMG48CpzXFriYYkOjk6ZGPCLMhW9e9jg3KMCn5OfJecF8GtGW7yGfR/IgCe3SX8BSwjdzI6BBbZLw==",
       "dev": true,
       "requires": {
         "@adobe/css-tools": "^4.3.2",
diff --git a/ui/package.json b/ui/package.json
index a3f098205..ee7cb575f 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -38,7 +38,7 @@
     "uuid": "^9.0.1"
   },
   "devDependencies": {
-    "@testing-library/jest-dom": "^6.2.0",
+    "@testing-library/jest-dom": "^6.4.2",
     "@testing-library/react": "^12.1.5",
     "@testing-library/react-hooks": "^7.0.2",
     "@testing-library/user-event": "^14.5.2",