Skip to content

Commit

Permalink
Move React 15 support tests from RC1 to RC2
Browse files Browse the repository at this point in the history
This changes the React 15 support scripts from using RC1 to using
RC2. The docs have been updated as well.
  • Loading branch information
iancmyers committed Mar 19, 2016
1 parent 3defef0 commit cdd1758
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/installation/react-15.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Working with React 15

If you are wanting to use Enzyme with React 0.14, but don't already have React 15 and react-dom
If you are wanting to use Enzyme with React 15, but don't already have React 15 and react-dom
installed, you should do so:

```bash
npm i --save [email protected].1 [email protected].1
npm i --save [email protected].2 [email protected].2
```

Further, enzyme requires the test utilities addon be installed:

```bash
npm i --save-dev [email protected].1
npm i --save-dev [email protected].2
```

Next, to get started with enzyme, you can simply install it with npm:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react:clean": "rimraf node_modules/react node_modules/react-dom node_modules/react-addons-test-utils",
"react:13": "npm run react:clean && npm i [email protected]",
"react:14": "npm run react:clean && npm i [email protected] [email protected] [email protected]",
"react:15": "npm run react:clean && npm i [email protected].1 [email protected].1 [email protected].1",
"react:15": "npm run react:clean && npm i [email protected].2 [email protected].2 [email protected].2",
"docs:clean": "rimraf _book",
"docs:prepare": "gitbook install",
"docs:build": "npm run docs:prepare && gitbook build",
Expand Down Expand Up @@ -80,6 +80,6 @@
"sinon": "^1.15.4"
},
"peerDependencies": {
"react": "0.13.x || 0.14.x || 15.* || 15.0.0-rc.1"
"react": "0.13.x || 0.14.x || 15.* || 15.0.0-rc.2"
}
}

0 comments on commit cdd1758

Please sign in to comment.