Skip to content

Commit ee48b6d

Browse files
KagamiChantomchentw
authored andcommitted
refactor: switch to react-dom/test-utils from react-addons-test-utils
* Original commit: 6aae839 * Original author: @KagamiChan * Closes #108
1 parent 1798319 commit ee48b6d

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
"prismjs": "^1.6.0",
7676
"raw-loader": "^0.5.1",
7777
"react": "^15.6.1",
78-
"react-addons-test-utils": "^15.6.0",
7978
"react-github-fork-ribbon": "^0.5.0",
8079
"react-scripts": "^1.0.11",
8180
"rimraf": "^2.6.1",

src/lib/ToastContainer.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88

99
import {
1010
default as TestUtils,
11-
} from "react-addons-test-utils";
11+
} from "react-dom/test-utils";
1212

1313
import {
1414
ToastContainer,

yarn.lock

-4
Original file line numberDiff line numberDiff line change
@@ -5683,10 +5683,6 @@ rc@^1.0.1, rc@^1.1.6, rc@^1.1.7:
56835683
minimist "^1.2.0"
56845684
strip-json-comments "~2.0.1"
56855685

5686-
react-addons-test-utils@^15.6.0:
5687-
version "15.6.0"
5688-
resolved "https://registry.yarnpkg.com/react-addons-test-utils/-/react-addons-test-utils-15.6.0.tgz#062d36117fe8d18f3ba5e06eb33383b0b85ea5b9"
5689-
56905686
react-dev-utils@^3.1.0:
56915687
version "3.1.1"
56925688
resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-3.1.1.tgz#09ae7209a81384248db56547e718e65bd3b20eb5"

0 commit comments

Comments
 (0)