Skip to content

Commit

Permalink
fix(test): downgrade @testing-library/react to fix test flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
tadayosi committed Dec 18, 2024
1 parent 47942f1 commit a64ae7f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/hawtio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@patternfly/react-table": "~5.3.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/react": "~16.0.1",
"@testing-library/user-event": "^14.5.2",
"@thumbmarkjs/thumbmarkjs": "^0.16.1",
"@types/dagre": "^0.7.52",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@ __metadata:
"@simbathesailor/use-what-changed": "npm:^2.0.0"
"@testing-library/dom": "npm:^10.4.0"
"@testing-library/jest-dom": "npm:^6.6.3"
"@testing-library/react": "npm:^16.1.0"
"@testing-library/react": "npm:~16.0.1"
"@testing-library/user-event": "npm:^14.5.2"
"@thumbmarkjs/thumbmarkjs": "npm:^0.16.1"
"@types/dagre": "npm:^0.7.52"
Expand Down Expand Up @@ -3220,23 +3220,23 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/react@npm:^16.1.0":
version: 16.1.0
resolution: "@testing-library/react@npm:16.1.0"
"@testing-library/react@npm:~16.0.1":
version: 16.0.1
resolution: "@testing-library/react@npm:16.0.1"
dependencies:
"@babel/runtime": "npm:^7.12.5"
peerDependencies:
"@testing-library/dom": ^10.0.0
"@types/react": ^18.0.0 || ^19.0.0
"@types/react-dom": ^18.0.0 || ^19.0.0
react: ^18.0.0 || ^19.0.0
react-dom: ^18.0.0 || ^19.0.0
"@types/react": ^18.0.0
"@types/react-dom": ^18.0.0
react: ^18.0.0
react-dom: ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
"@types/react-dom":
optional: true
checksum: 10/2a20e0dbfadbc93d45a84e82281ed47deed54a6a5fc1461a523172d7fbc0481e8502cf98a2080f38aba94290b3d745671a1c9e320e6f76ad6afcca67c580b963
checksum: 10/904b48881cf5bd208e25899e168f5c99c78ed6d77389544838d9d861a038d2c5c5385863ee9a367436770cbf7d21c5e05a991b9e24a33806e9ac985df2448185
languageName: node
linkType: hard

Expand Down

0 comments on commit a64ae7f

Please sign in to comment.