Skip to content

Commit 63bcce1

Browse files
fix: update testing-libary-dom to 9 (#262)
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
1 parent f35c17b commit 63bcce1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cypress/e2e/find.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('find* dom-testing-library commands', () => {
6565
})
6666

6767
it('findAllByRole', () => {
68-
cy.findAllByRole(/^dialog/).should('have.length', 2)
68+
cy.findAllByRole('dialog').should('have.length', 1)
6969
})
7070

7171
it('findByTestId', () => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"license": "MIT",
4242
"dependencies": {
4343
"@babel/runtime": "^7.14.6",
44-
"@testing-library/dom": "^8.1.0"
44+
"@testing-library/dom": "^9.0.0"
4545
},
4646
"devDependencies": {
4747
"cypress": "^12.0.0",

0 commit comments

Comments
 (0)