Skip to content

Commit

Permalink
Upgrade RN & Enzyme
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrachet committed Oct 18, 2017
1 parent 4dcbcfb commit 0c91e10
Show file tree
Hide file tree
Showing 3 changed files with 959 additions and 812 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@
"prop-types": "^15.5.10"
},
"devDependencies": {
"babel-jest": "^20.0.3",
"babel-preset-react-native": "1.9.1",
"babel-jest": "21.2.0",
"babel-preset-react-native": "4.0.0",
"coveralls": "^2.13.1",
"enzyme": "^2.9.1",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.2",
"eslint": "^4.1.1",
"eslint-config-airbnb": "^15.0.2",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.1.0",
"jest": "^20.0.4",
"jest": "21.2.1",
"prettier": "^1.6.1",
"prettier-eslint-cli": "^4.3.0",
"react": "16.0.0-alpha.6",
"react-dom": "^15.6.1",
"react-native": "0.44.0",
"react-native-mock": "^0.3.1",
"react-test-renderer": "^15.6.1"
"react": "16.0.0-beta.5",
"react-dom": "16.0.0-beta.5",
"react-native": "0.49.3",
"react-test-renderer": "16.0.0-beta.5"
},
"jest": {
"preset": "react-native",
Expand Down
6 changes: 4 additions & 2 deletions setup/test.setup.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/* eslint-disable */
require('react-native-mock/mock')
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';

Enzyme.configure({ adapter: new Adapter() });
Loading

0 comments on commit 0c91e10

Please sign in to comment.