diff options
author | afc163 <afc163@gmail.com> | 2017-04-14 17:13:04 +0800 |
---|---|---|
committer | afc163 <afc163@gmail.com> | 2017-04-14 17:13:04 +0800 |
commit | 3ab3a128deaf10300b31102b79458528227baa54 (patch) | |
tree | c179b1ccfe954b1df0e2c9a238f604a0e1ba1534 /tests | |
parent | 16a18e356599ed2b9289314614739802ea5b5191 (diff) | |
download | time-picker-3ab3a128deaf10300b31102b79458528227baa54.tar.gz time-picker-3ab3a128deaf10300b31102b79458528227baa54.tar.zst time-picker-3ab3a128deaf10300b31102b79458528227baa54.zip |
fix react createClass and PropTypes warningfix-react-15.5-warning
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Header.spec.jsx | 2 | ||||
-rw-r--r-- | tests/Select.spec.jsx | 2 | ||||
-rw-r--r-- | tests/TimePicker.spec.jsx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/Header.spec.jsx b/tests/Header.spec.jsx index 682852d..5ab0ba0 100644 --- a/tests/Header.spec.jsx +++ b/tests/Header.spec.jsx | |||
@@ -2,7 +2,7 @@ import ReactDOM from 'react-dom'; | |||
2 | import React from 'react'; | 2 | import React from 'react'; |
3 | import TimePicker from '../src/TimePicker'; | 3 | import TimePicker from '../src/TimePicker'; |
4 | 4 | ||
5 | import TestUtils from 'react-addons-test-utils'; | 5 | import TestUtils from 'react-dom/test-utils'; |
6 | const Simulate = TestUtils.Simulate; | 6 | const Simulate = TestUtils.Simulate; |
7 | import expect from 'expect.js'; | 7 | import expect from 'expect.js'; |
8 | import async from 'async'; | 8 | import async from 'async'; |
diff --git a/tests/Select.spec.jsx b/tests/Select.spec.jsx index 2d30098..b2c111d 100644 --- a/tests/Select.spec.jsx +++ b/tests/Select.spec.jsx | |||
@@ -1,7 +1,7 @@ | |||
1 | import ReactDOM from 'react-dom'; | 1 | import ReactDOM from 'react-dom'; |
2 | import React from 'react'; | 2 | import React from 'react'; |
3 | import TimePicker from '../src/TimePicker'; | 3 | import TimePicker from '../src/TimePicker'; |
4 | import TestUtils from 'react-addons-test-utils'; | 4 | import TestUtils from 'react-dom/test-utils'; |
5 | const Simulate = TestUtils.Simulate; | 5 | const Simulate = TestUtils.Simulate; |
6 | import expect from 'expect.js'; | 6 | import expect from 'expect.js'; |
7 | import async from 'async'; | 7 | import async from 'async'; |
diff --git a/tests/TimePicker.spec.jsx b/tests/TimePicker.spec.jsx index 6f9ac2d..0dd6c10 100644 --- a/tests/TimePicker.spec.jsx +++ b/tests/TimePicker.spec.jsx | |||
@@ -2,7 +2,7 @@ import ReactDOM from 'react-dom'; | |||
2 | import React from 'react'; | 2 | import React from 'react'; |
3 | import TimePicker from '../src/TimePicker'; | 3 | import TimePicker from '../src/TimePicker'; |
4 | 4 | ||
5 | import TestUtils from 'react-addons-test-utils'; | 5 | import TestUtils from 'react-dom/test-utils'; |
6 | const Simulate = TestUtils.Simulate; | 6 | const Simulate = TestUtils.Simulate; |
7 | import expect from 'expect.js'; | 7 | import expect from 'expect.js'; |
8 | import async from 'async'; | 8 | import async from 'async'; |