Skip to content

Commit

Permalink
fix: update testing-libary-dom to 9 (#262)
Browse files Browse the repository at this point in the history
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
  • Loading branch information
TomPridham and kentcdodds authored Sep 12, 2023
1 parent f35c17b commit 63bcce1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/find.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('find* dom-testing-library commands', () => {
})

it('findAllByRole', () => {
cy.findAllByRole(/^dialog/).should('have.length', 2)
cy.findAllByRole('dialog').should('have.length', 1)
})

it('findByTestId', () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@testing-library/dom": "^8.1.0"
"@testing-library/dom": "^9.0.0"
},
"devDependencies": {
"cypress": "^12.0.0",
Expand Down

0 comments on commit 63bcce1

Please sign in to comment.