-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move React 15 support tests from RC1 to RC2
This changes the React 15 support scripts from using RC1 to using RC2. The docs have been updated as well.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -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" | ||
} | ||
} |