kopia lustrzana https://github.com/c9/core
fix several flaky tests
rodzic
c12c275fb4
commit
f5083813a1
|
@ -64,7 +64,7 @@
|
|||
"c9.ide.language.generic": "#b47cbe58f9",
|
||||
"c9.ide.language.html": "#cdc3960225",
|
||||
"c9.ide.language.html.diff": "#7d6cecfb90",
|
||||
"c9.ide.language.javascript": "#b82f16e56a",
|
||||
"c9.ide.language.javascript": "#a5c1d05394",
|
||||
"c9.ide.language.javascript.immediate": "#82c426dbca",
|
||||
"c9.ide.language.javascript.eslint": "#cb9e3f5a8e",
|
||||
"c9.ide.language.javascript.tern": "#0545a6385d",
|
||||
|
@ -79,7 +79,7 @@
|
|||
"c9.ide.run.debug": "#a84da3e7f8",
|
||||
"c9.automate": "#47e2c429c9",
|
||||
"c9.ide.ace.emmet": "#6dc4585e02",
|
||||
"c9.ide.ace.gotoline": "#dcbe58d549",
|
||||
"c9.ide.ace.gotoline": "#d33220b1e0",
|
||||
"c9.ide.ace.keymaps": "#334a65192f",
|
||||
"c9.ide.ace.repl": "#4b88a85b7b",
|
||||
"c9.ide.ace.split": "#0ae0151c78",
|
||||
|
@ -93,11 +93,11 @@
|
|||
"c9.ide.format": "#f99082ff4c",
|
||||
"c9.ide.help.support": "#fbe8eb5c36",
|
||||
"c9.ide.imgeditor": "#612e75ef4f",
|
||||
"c9.ide.immediate": "#76c8e3213a",
|
||||
"c9.ide.immediate": "#b279c69c73",
|
||||
"c9.ide.installer": "#b2e4ba0a92",
|
||||
"c9.ide.language.python": "#15e7ff9a3f",
|
||||
"c9.ide.language.go": "#6ce1c7a7ef",
|
||||
"c9.ide.mount": "#3001a633f2",
|
||||
"c9.ide.mount": "#b018ee501f",
|
||||
"c9.ide.navigate": "#5d5707058c",
|
||||
"c9.ide.newresource": "#981a408a7b",
|
||||
"c9.ide.openfiles": "#2ae85a9e33",
|
||||
|
|
|
@ -283,8 +283,11 @@ require(["lib/architect/architect", "lib/chai/chai"], function (architect, chai)
|
|||
editor.setOption("wrapToView", true);
|
||||
|
||||
render();
|
||||
var ace = editor.ace;
|
||||
var cols = Math.floor((ace.container.offsetWidth - ace.renderer.gutterWidth - 2 * ace.renderer.$padding) / charWidth);
|
||||
|
||||
expect(document.querySelector(".ace_gutter-cell").offsetHeight).to.equal(lineHeight * 4);
|
||||
expect(cols).to.equal(ace.session.getWrapLimit());
|
||||
expect(document.querySelector(".ace_gutter-cell").offsetHeight).to.equal(lineHeight * ace.session.getRowLength(0));
|
||||
done();
|
||||
});
|
||||
it('should allow setting wrapBehavioursEnabled', function(done) {
|
||||
|
|
Ładowanie…
Reference in New Issue