increase timeout for intermittently failing placeholder_test.js
This commit is contained in:
parent
b4d2cf810d
commit
a40060c1ae
3 changed files with 5 additions and 5 deletions
|
|
@ -969,10 +969,8 @@ var EditSession = function(text, mode) {
|
|||
try {
|
||||
this.$worker = this.$mode.createWorker(this);
|
||||
} catch (e) {
|
||||
if (typeof console == "object") {
|
||||
console.log("Could not load worker");
|
||||
console.log(e);
|
||||
}
|
||||
if (typeof console == "object" && console.error)
|
||||
console.log("Could not load worker", e);
|
||||
this.$worker = null;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ var assert = require("./test/assertions");
|
|||
var JavaScriptMode = require("./mode/javascript").Mode;
|
||||
var PlaceHolder = require("./placeholder").PlaceHolder;
|
||||
var UndoManager = require("./undomanager").UndoManager;
|
||||
require("./multi_select")
|
||||
|
||||
module.exports = {
|
||||
|
||||
|
|
@ -89,7 +90,7 @@ module.exports = {
|
|||
editor.insert('v');
|
||||
assert.equal(session.doc.getValue(), "var v$a = 10;\nconsole.log(v$a, v$a);");
|
||||
next();
|
||||
}, 10);
|
||||
}, 20);
|
||||
},
|
||||
|
||||
"test: detaching placeholder" : function() {
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ var testNames = [
|
|||
"ace/multi_select_test",
|
||||
"ace/mouse/mouse_handler_test",
|
||||
"ace/occur_test",
|
||||
"ace/placeholder_test",
|
||||
"ace/range_test",
|
||||
"ace/range_list_test",
|
||||
"ace/search_test",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue