mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
spec: Skip webview.executeJavaScript in Travis on OS X
It is very easy to get timeout.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user