Skip to content

Commit d232c00

Browse files
author
Kent C. Dodds
authored
feat: update to the latest [email protected] (#365)
BREAKING CHANGE: This upgrades to the latest dom-testing-library which has a few breaking changes: https://github.com/testing-library/dom-testing-library/releases/tag/v4.0.0
1 parent 5ce6c19 commit d232c00

File tree

7 files changed

+43
-48
lines changed

7 files changed

+43
-48
lines changed

.all-contributorsrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"projectName": "react-testing-library",
3-
"projectOwner": "kentcdodds",
3+
"projectOwner": "testing-library",
44
"repoType": "github",
55
"files": [
66
"README.md"

.github/FUNDING.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
# You can add one username per supported platform and one custom link
2-
patreon: kentcdodds
3-
# open_collective:
4-
# ko_fi:
5-
custom: https://kcd.im/donate
1+
open_collective: testing-library

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ series [How to Contribute to an Open Source Project on GitHub][egghead]
1515
> pull requests from branches on your fork. To do this, run:
1616
>
1717
> ```
18-
> git remote add upstream https://github.com/kentcdodds/react-testing-library.git
18+
> git remote add upstream https://github.com/testing-library/react-testing-library.git
1919
> git fetch upstream
2020
> git branch --set-upstream-to=upstream/master master
2121
> ```
@@ -75,5 +75,5 @@ requests! Thanks!
7575

7676
[egghead]:
7777
https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github
78-
[all-contributors]: https://github.com/kentcdodds/all-contributors
79-
[issues]: https://github.com/kentcdodds/react-testing-library/issues
78+
[all-contributors]: https://github.com/all-contributors/all-contributors
79+
[issues]: https://github.com/testing-library/react-testing-library/issues

README.md

+26-27
Large diffs are not rendered by default.

examples/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ specific example, you can run `npm test name-of-your-file`. This will put you
2727
into Jest's interactive watch mode with a filter based on the name you provided.
2828

2929
[contributing]:
30-
https://github.com/kentcdodds/react-testing-library/blob/master/CONTRIBUTING.md
30+
https://github.com/testing-library/react-testing-library/blob/master/CONTRIBUTING.md
3131
[jest-dom]: https://github.com/gnapse/jest-dom

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,27 @@
4141
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)",
4242
"license": "MIT",
4343
"dependencies": {
44-
"@babel/runtime": "^7.4.2",
45-
"dom-testing-library": "^3.19.0"
44+
"@babel/runtime": "^7.4.3",
45+
"dom-testing-library": "^4.0.0"
4646
},
4747
"devDependencies": {
4848
"@reach/router": "^1.2.1",
49-
"@types/react": "^16.8.3",
50-
"@types/react-dom": "^16.8.2",
49+
"@types/react": "^16.8.14",
50+
"@types/react-dom": "^16.8.4",
5151
"axios": "^0.18.0",
5252
"eslint-import-resolver-jest": "^2.1.1",
5353
"history": "^4.9.0",
5454
"intl": "^1.2.5",
5555
"jest-dom": "3.1.3",
5656
"jest-in-case": "^1.0.2",
57-
"kcd-scripts": "1.1.2",
57+
"kcd-scripts": "1.2.2",
5858
"react": "^16.8.6",
5959
"react-dom": "^16.8.6",
6060
"react-intl": "^2.8.0",
61-
"react-redux": "6.0.1",
61+
"react-redux": "7.0.2",
6262
"react-router": "^5.0.0",
6363
"react-router-dom": "^5.0.0",
64-
"react-transition-group": "^2.7.1",
64+
"react-transition-group": "^4.0.0",
6565
"redux": "^4.0.0"
6666
},
6767
"peerDependencies": {
@@ -83,10 +83,10 @@
8383
],
8484
"repository": {
8585
"type": "git",
86-
"url": "https://github.com/kentcdodds/react-testing-library.git"
86+
"url": "https://github.com/testing-library/react-testing-library.git"
8787
},
8888
"bugs": {
89-
"url": "https://github.com/kentcdodds/react-testing-library/issues"
89+
"url": "https://github.com/testing-library/react-testing-library/issues"
9090
},
91-
"homepage": "https://github.com/kentcdodds/react-testing-library#readme"
91+
"homepage": "https://github.com/testing-library/react-testing-library#readme"
9292
}

src/__mocks__/axios.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ module.exports = {
55
// Note:
66
// For now we don't need any other method (POST/PUT/PATCH), what we have already works fine.
77
// We will add more methods only if we need to.
8-
// For reference please read: https://github.com/kentcdodds/react-testing-library/issues/2
8+
// For reference please read: https://github.com/testing-library/react-testing-library/issues/2

0 commit comments

Comments
 (0)