diff --git a/components/grid/__tests__/index.test.js b/components/grid/__tests__/index.test.js index 8a0aadbc7b..64c7af5bce 100644 --- a/components/grid/__tests__/index.test.js +++ b/components/grid/__tests__/index.test.js @@ -1,5 +1,5 @@ import React from 'react'; -import TestUtils from 'react-addons-test-utils'; +import TestUtils from 'react-dom/test-utils'; import { Col, Row } from '..'; describe('Grid', () => { diff --git a/components/icon/__tests__/index.test.js b/components/icon/__tests__/index.test.js index 6c074c653c..28e4e789b9 100644 --- a/components/icon/__tests__/index.test.js +++ b/components/icon/__tests__/index.test.js @@ -1,5 +1,5 @@ import React from 'react'; -import TestUtils from 'react-addons-test-utils'; +import TestUtils from 'react-dom/test-utils'; import { wrap } from 'react-stateless-wrapper'; import AntIcon from '..'; diff --git a/components/popover/__tests__/index.test.js b/components/popover/__tests__/index.test.js index ba816e5a55..2cb61217b6 100644 --- a/components/popover/__tests__/index.test.js +++ b/components/popover/__tests__/index.test.js @@ -1,5 +1,5 @@ import React from 'react'; -import TestUtils from 'react-addons-test-utils'; +import TestUtils from 'react-dom/test-utils'; import Popover from '..'; describe('Popover', () => { diff --git a/package.json b/package.json index cca3e12628..7df11353bb 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,6 @@ "rc-scroll-anim": "^1.0.3", "rc-tween-one": "^1.1.2", "react": "^15.0.0", - "react-addons-test-utils": "^15.0.0", "react-color-standalone": "^2.4.2-1", "react-copy-to-clipboard": "^4.0.1", "react-document-title": "^2.0.1",