Commit 806bfdfa authored by Luc's avatar Luc Committed by Tim Neutkens

Update with-jest, with-jest-react-testing-library examples (#6464)

The latest version of babel-jest doesn't require `babel-core` with the bridge version anymore (updated in this PR : https://github.com/facebook/jest/pull/7016).

So I'm updating with-jest and with-jest-react-testing-library examples accordingly.
parent 62f84bb1
...@@ -7,11 +7,10 @@ ...@@ -7,11 +7,10 @@
"react-dom": "^16.7.0" "react-dom": "^16.7.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.1.2", "@babel/core": "7.3.4",
"babel-core": "^7.0.0-bridge", "babel-jest": "24.1.0",
"babel-jest": "^23.6.0", "jest": "24.1.0",
"react-testing-library": "^5.4.2", "react-testing-library": "^5.4.2"
"jest": "^23.6.0"
}, },
"scripts": { "scripts": {
"test": "jest", "test": "jest",
......
...@@ -7,12 +7,11 @@ ...@@ -7,12 +7,11 @@
"react-dom": "^16.7.0" "react-dom": "^16.7.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.1.2", "@babel/core": "7.3.4",
"babel-core": "^7.0.0-bridge", "babel-jest": "24.1.0",
"babel-jest": "^23.6.0",
"enzyme": "3.4.3", "enzyme": "3.4.3",
"enzyme-adapter-react-16": "1.2.0", "enzyme-adapter-react-16": "1.2.0",
"jest": "^23.6.0", "jest": "24.1.0",
"react-addons-test-utils": "15.6.2", "react-addons-test-utils": "15.6.2",
"react-test-renderer": "16.4.2" "react-test-renderer": "16.4.2"
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment