Skip to content

Commit

Permalink
only test on chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed Mar 17, 2015
1 parent a63a736 commit 53c25b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Select.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ describe('Select', function () {
});

it('should close on blur', function (done) {
if (navigator.userAgent.indexOf(' Chrome') === -1) {
done();
return;
}
expect(React.findDOMNode(instance).className.match(/\brc-select-open\b/)).to.be.ok();
div.focus();
setTimeout(function () {
Expand Down

0 comments on commit 53c25b8

Please sign in to comment.