diff options
Diffstat (limited to 'tests/Select.spec.jsx')
-rw-r--r-- | tests/Select.spec.jsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/Select.spec.jsx b/tests/Select.spec.jsx index 827a736..fb58145 100644 --- a/tests/Select.spec.jsx +++ b/tests/Select.spec.jsx | |||
@@ -438,7 +438,13 @@ describe('Select', () => { | |||
438 | expect((input).value).to.be('12:00 am'); | 438 | expect((input).value).to.be('12:00 am'); |
439 | const option = selector.getElementsByTagName('li')[1]; | 439 | const option = selector.getElementsByTagName('li')[1]; |
440 | Simulate.click(option); | 440 | Simulate.click(option); |
441 | setTimeout(next, 100); | 441 | setTimeout(next, 200); |
442 | }, (next) => { | ||
443 | expect((input).value).to.be('12:00 pm'); | ||
444 | next(); | ||
445 | }, (next) => { | ||
446 | Simulate.click(selector.getElementsByTagName('li')[0]); | ||
447 | setTimeout(next, 200); | ||
442 | }, (next) => { | 448 | }, (next) => { |
443 | expect((input).value).to.be('12:00 pm'); | 449 | expect((input).value).to.be('12:00 pm'); |
444 | next(); | 450 | next(); |