Skip to content

Commit 787cb85

Browse files
authored
Release: 15.0.0 (testing-library#1295)
BREAKING CHANGE: Minimum supported Node.js version is 18.0 BREAKING CHANGE: New version of `@testing-library/dom` changes various roles. Check out the changed tests in testing-library/dom-testing-library@2c57055 to get an overview about what changed.
1 parent 9c4a46d commit 787cb85

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.codesandbox/ci.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"installCommand": "install:csb",
33
"sandboxes": ["new", "github/kentcdodds/react-testing-library-examples"],
4-
"node": "14"
4+
"node": "18"
55
}

.github/workflows/validate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
node: [14, 16, 18]
32+
node: [18, 20]
3333
react: ['18.x', latest, canary, experimental]
3434
runs-on: ubuntu-latest
3535
steps:

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "types/index.d.ts",
77
"module": "dist/@testing-library/react.esm.js",
88
"engines": {
9-
"node": ">=14"
9+
"node": ">=18"
1010
},
1111
"scripts": {
1212
"prebuild": "rimraf dist",
@@ -46,7 +46,7 @@
4646
"license": "MIT",
4747
"dependencies": {
4848
"@babel/runtime": "^7.12.5",
49-
"@testing-library/dom": "^9.0.0",
49+
"@testing-library/dom": "^10.0.0",
5050
"@types/react-dom": "^18.0.0"
5151
},
5252
"devDependencies": {

0 commit comments

Comments
 (0)