aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/TimePicker.spec.jsx2
1 files changed, 1 insertions, 1 deletions
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);