From ed538107c15d1022276986a588f7b6a79d09712a Mon Sep 17 00:00:00 2001 From: James Brooks <12275865+jamesobrooks@users.noreply.github.com> Date: Wed, 16 Oct 2024 12:54:25 -0500 Subject: [PATCH] Skip broken package version @testing-library/jest-dom has an issue with an import in version 6.6.0. https://github.com/testing-library/jest-dom/issues/641 There is already a pull request to fix this, but for now we can unblock by excluding this broken version. --- user-interface/package-lock.json | 8 ++++---- user-interface/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/user-interface/package-lock.json b/user-interface/package-lock.json index f9f06b716..4182dcafc 100644 --- a/user-interface/package-lock.json +++ b/user-interface/package-lock.json @@ -29,7 +29,7 @@ "react-select": "^5.8.1" }, "devDependencies": { - "@testing-library/jest-dom": "^6.5.0", + "@testing-library/jest-dom": ">6.4.8 <6.6.0 || >6.6.0 <7.0.0", "@testing-library/react": "^16.0.1", "@testing-library/user-event": "^14.5.2", "@types/jest": "^29.5.13", @@ -2458,9 +2458,9 @@ } }, "node_modules/@testing-library/jest-dom": { - "version": "6.6.0", - "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.6.0.tgz", - "integrity": "sha512-Y76dmd7C85xekWqylJqRmO6lr83cdVprTs0muSvkXr6M73auYK5OvZMc3tKe1F7wMFdzfeBCwVbkoGrRKWb+fg==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.5.0.tgz", + "integrity": "sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA==", "dev": true, "dependencies": { "@adobe/css-tools": "^4.4.0", diff --git a/user-interface/package.json b/user-interface/package.json index 96b1e08e1..e9761ec2f 100644 --- a/user-interface/package.json +++ b/user-interface/package.json @@ -25,7 +25,7 @@ "react-select": "^5.8.1" }, "devDependencies": { - "@testing-library/jest-dom": "^6.5.0", + "@testing-library/jest-dom": ">6.4.8 <6.6.0 || >6.6.0 <7.0.0", "@testing-library/react": "^16.0.1", "@testing-library/user-event": "^14.5.2", "@types/jest": "^29.5.13",