Skip to content

Commit

Permalink
refactor: switch to react-dom/test-utils from `react-addons-test-ut…
Browse files Browse the repository at this point in the history
…ils`

* Original commit: 6aae839
* Original author: @KagamiChan
* Closes #108
  • Loading branch information
KagamiChan authored and tomchentw committed Aug 21, 2017
1 parent 1798319 commit ee48b6d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"prismjs": "^1.6.0",
"raw-loader": "^0.5.1",
"react": "^15.6.1",
"react-addons-test-utils": "^15.6.0",
"react-github-fork-ribbon": "^0.5.0",
"react-scripts": "^1.0.11",
"rimraf": "^2.6.1",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ToastContainer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {

import {
default as TestUtils,
} from "react-addons-test-utils";
} from "react-dom/test-utils";

import {
ToastContainer,
Expand Down
4 changes: 0 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5683,10 +5683,6 @@ rc@^1.0.1, rc@^1.1.6, rc@^1.1.7:
minimist "^1.2.0"
strip-json-comments "~2.0.1"

react-addons-test-utils@^15.6.0:
version "15.6.0"
resolved "https://registry.yarnpkg.com/react-addons-test-utils/-/react-addons-test-utils-15.6.0.tgz#062d36117fe8d18f3ba5e06eb33383b0b85ea5b9"

react-dev-utils@^3.1.0:
version "3.1.1"
resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-3.1.1.tgz#09ae7209a81384248db56547e718e65bd3b20eb5"
Expand Down

0 comments on commit ee48b6d

Please sign in to comment.