diff options
-rw-r--r-- | package.json | 4 | ||||
-rw-r--r-- | tests/TimePicker.spec.jsx | 2 |
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); |