aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorafc163 <afc163@gmail.com>2017-02-21 16:34:19 +0800
committerafc163 <afc163@gmail.com>2017-02-21 16:34:19 +0800
commit19b96283c09e678b8b7ea5c60569996a0bab5935 (patch)
treee6705dabf079315f7f712c2b188ade1531183c9c
parentac03838ac3a6e2ece20a0a610601c728e7c1bdac (diff)
downloadtime-picker-19b96283c09e678b8b7ea5c60569996a0bab5935.tar.gz
time-picker-19b96283c09e678b8b7ea5c60569996a0bab5935.tar.zst
time-picker-19b96283c09e678b8b7ea5c60569996a0bab5935.zip
fix test case
-rw-r--r--package.json2
-rw-r--r--tests/Header.spec.jsx2
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';
6const Simulate = TestUtils.Simulate; 6const Simulate = TestUtils.Simulate;
7import expect from 'expect.js'; 7import expect from 'expect.js';
8import async from 'async'; 8import async from 'async';
9import { KeyCode } from 'rc-util'; 9import KeyCode from 'rc-util/lib/KeyCode';
10import moment from 'moment'; 10import moment from 'moment';
11 11
12describe('Header', () => { 12describe('Header', () => {