spec: Skip webview.executeJavaScript in Travis on OS X

It is very easy to get timeout.
This commit is contained in:
Cheng Zhao 2016-03-12 09:17:28 +09:00
parent a8d34ebac9
commit 71fb684069

View file

@ -568,7 +568,9 @@ describe('<webview> tag', function() {
});
it('can return the result of the executed script', function(done) {
this.timeout(50000);
if (process.env.TRAVIS === 'true' && process.platform == 'darwin')
return done();
var listener = function() {
var jsScript = "'4'+2";
webview.executeJavaScript(jsScript, false, function(result) {