Fixing typo followup, try fixing the corrupted tests
This commit is contained in:
parent
1283b11f0e
commit
0329c10031
1 changed files with 2 additions and 0 deletions
|
|
@ -140,6 +140,8 @@ module.exports = {
|
||||||
"test: cancel": function(next) {
|
"test: cancel": function(next) {
|
||||||
var session = new EditSession("var a = 10;\nconsole.log(a, a);", new JavaScriptMode());
|
var session = new EditSession("var a = 10;\nconsole.log(a, a);", new JavaScriptMode());
|
||||||
session.setUndoManager(new UndoManager());
|
session.setUndoManager(new UndoManager());
|
||||||
|
// hack around the difference between full ACE context and C9 world
|
||||||
|
session.getUndoManager().$undostack = session.getUndoManager().$undoStack;
|
||||||
var editor = new Editor(new MockRenderer(), session);
|
var editor = new Editor(new MockRenderer(), session);
|
||||||
var p = new PlaceHolder(session, 1, {row: 0, column: 4}, [{row: 1, column: 12}, {row: 1, column: 15}]);
|
var p = new PlaceHolder(session, 1, {row: 0, column: 4}, [{row: 1, column: 12}, {row: 1, column: 15}]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue