diff options
author | afc163 <afc163@gmail.com> | 2017-02-21 16:34:19 +0800 |
---|---|---|
committer | afc163 <afc163@gmail.com> | 2017-02-21 16:34:19 +0800 |
commit | 19b96283c09e678b8b7ea5c60569996a0bab5935 (patch) | |
tree | e6705dabf079315f7f712c2b188ade1531183c9c | |
parent | ac03838ac3a6e2ece20a0a610601c728e7c1bdac (diff) | |
download | time-picker-19b96283c09e678b8b7ea5c60569996a0bab5935.tar.gz time-picker-19b96283c09e678b8b7ea5c60569996a0bab5935.tar.zst time-picker-19b96283c09e678b8b7ea5c60569996a0bab5935.zip |
fix test case
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | tests/Header.spec.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index 7bcda79..d4c89a1 100644 --- a/package.json +++ b/package.json | |||
@@ -49,7 +49,7 @@ | |||
49 | "jquery": "1.x", | 49 | "jquery": "1.x", |
50 | "pre-commit": "1.x", | 50 | "pre-commit": "1.x", |
51 | "rc-tools": "5.x", | 51 | "rc-tools": "5.x", |
52 | "rc-util": "^4.0.0", | 52 | "rc-util": "^4.0.2", |
53 | "react": "15.x", | 53 | "react": "15.x", |
54 | "react-addons-test-utils": "15.x", | 54 | "react-addons-test-utils": "15.x", |
55 | "react-dom": "15.x" | 55 | "react-dom": "15.x" |
diff --git a/tests/Header.spec.jsx b/tests/Header.spec.jsx index d5e570d..682852d 100644 --- a/tests/Header.spec.jsx +++ b/tests/Header.spec.jsx | |||
@@ -6,7 +6,7 @@ import TestUtils from 'react-addons-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'; |
9 | import { KeyCode } from 'rc-util'; | 9 | import KeyCode from 'rc-util/lib/KeyCode'; |
10 | import moment from 'moment'; | 10 | import moment from 'moment'; |
11 | 11 | ||
12 | describe('Header', () => { | 12 | describe('Header', () => { |