aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
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 /tests
parentf77f1032a0e62bfa8cf04778a31762cca4438e32 (diff)
downloadtime-picker-033931f9f4c0b6cb2338b05b4899bb196c69afff.tar.gz
time-picker-033931f9f4c0b6cb2338b05b4899bb196c69afff.tar.zst
time-picker-033931f9f4c0b6cb2338b05b4899bb196c69afff.zip
Update react@16 and rc-trigger
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);