From 53c25b891984797c9d0a0b9b0b39fefd0af8065f Mon Sep 17 00:00:00 2001 From: yiminghe Date: Tue, 17 Mar 2015 23:09:17 +0800 Subject: [PATCH] only test on chrome --- tests/Select.spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Select.spec.js b/tests/Select.spec.js index 7f58dfa27..a8def07ed 100644 --- a/tests/Select.spec.js +++ b/tests/Select.spec.js @@ -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 () {