aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorWei Zhu <yesmeck@gmail.com>2017-11-02 12:16:38 +0800
committerWei Zhu <yesmeck@gmail.com>2017-11-02 12:16:38 +0800
commit033931f9f4c0b6cb2338b05b4899bb196c69afff (patch)
tree844228ae06f3fd386997ced9ae65304380e71ff2
parentf77f1032a0e62bfa8cf04778a31762cca4438e32 (diff)
downloadtime-picker-033931f9f4c0b6cb2338b05b4899bb196c69afff.tar.gz
time-picker-033931f9f4c0b6cb2338b05b4899bb196c69afff.tar.zst
time-picker-033931f9f4c0b6cb2338b05b4899bb196c69afff.zip
Update react@16 and rc-trigger
-rw-r--r--package.json4
-rw-r--r--tests/TimePicker.spec.jsx2
2 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json
index 50a4a6b..f540f33 100644
--- a/package.json
+++ b/package.json
@@ -48,8 +48,8 @@
48 "coverage": "rc-test run coverage" 48 "coverage": "rc-test run coverage"
49 }, 49 },
50 "devDependencies": { 50 "devDependencies": {
51 "core-js": "^2.5.1",
52 "async": "~0.9.0", 51 "async": "~0.9.0",
52 "core-js": "^2.5.1",
53 "expect.js": "~0.3.1", 53 "expect.js": "~0.3.1",
54 "pre-commit": "1.x", 54 "pre-commit": "1.x",
55 "rc-test": "^6.0.1", 55 "rc-test": "^6.0.1",
@@ -66,6 +66,6 @@
66 "classnames": "2.x", 66 "classnames": "2.x",
67 "moment": "2.x", 67 "moment": "2.x",
68 "prop-types": "^15.5.8", 68 "prop-types": "^15.5.8",
69 "rc-trigger": "1.x" 69 "rc-trigger": "^2.2.0"
70 } 70 }
71} 71}
diff --git a/tests/TimePicker.spec.jsx b/tests/TimePicker.spec.jsx
index d698e48..83f506e 100644
--- a/tests/TimePicker.spec.jsx
+++ b/tests/TimePicker.spec.jsx
@@ -92,7 +92,7 @@ describe('TimePicker', () => {
92 setTimeout(next, 100); 92 setTimeout(next, 100);
93 }, (next) => { 93 }, (next) => {
94 expect(TestUtils.scryRenderedDOMComponentsWithClass(picker, 94 expect(TestUtils.scryRenderedDOMComponentsWithClass(picker,
95 'rc-time-picker-panel-inner')[0]).not.to.be.ok(); 95 'rc-time-picker-panel-inner')[0]).to.be.ok();
96 expect(picker.state.open).to.be(true); 96 expect(picker.state.open).to.be(true);
97 if (document.querySelectorAll) { 97 if (document.querySelectorAll) {
98 expect(document.querySelectorAll('.rc-time-picker').length).not.to.be(0); 98 expect(document.querySelectorAll('.rc-time-picker').length).not.to.be(0);