Skip to content

Commit

Permalink
Update with-jest, with-jest-react-testing-library examples (#6464)
Browse files Browse the repository at this point in the history
The latest version of babel-jest doesn't require `babel-core` with the bridge version anymore (updated in this PR : jestjs/jest#7016).

So I'm updating with-jest and with-jest-react-testing-library examples accordingly.
  • Loading branch information
lucleray authored and timneutkens committed Feb 27, 2019
1 parent 62f84bb commit 806bfdf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
9 changes: 4 additions & 5 deletions examples/with-jest-react-testing-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
"react-dom": "^16.7.0"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"babel-core": "^7.0.0-bridge",
"babel-jest": "^23.6.0",
"react-testing-library": "^5.4.2",
"jest": "^23.6.0"
"@babel/core": "7.3.4",
"babel-jest": "24.1.0",
"jest": "24.1.0",
"react-testing-library": "^5.4.2"
},
"scripts": {
"test": "jest",
Expand Down
7 changes: 3 additions & 4 deletions examples/with-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
"react-dom": "^16.7.0"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"babel-core": "^7.0.0-bridge",
"babel-jest": "^23.6.0",
"@babel/core": "7.3.4",
"babel-jest": "24.1.0",
"enzyme": "3.4.3",
"enzyme-adapter-react-16": "1.2.0",
"jest": "^23.6.0",
"jest": "24.1.0",
"react-addons-test-utils": "15.6.2",
"react-test-renderer": "16.4.2"
},
Expand Down

0 comments on commit 806bfdf

Please sign in to comment.