spec: Skip webview.executeJavaScript in Travis on OS X
It is very easy to get timeout.
This commit is contained in:
parent
a8d34ebac9
commit
71fb684069
1 changed files with 3 additions and 1 deletions
|
@ -568,7 +568,9 @@ describe('<webview> tag', function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can return the result of the executed script', function(done) {
|
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 listener = function() {
|
||||||
var jsScript = "'4'+2";
|
var jsScript = "'4'+2";
|
||||||
webview.executeJavaScript(jsScript, false, function(result) {
|
webview.executeJavaScript(jsScript, false, function(result) {
|
||||||
|
|
Loading…
Reference in a new issue