cruft: Remove unecessary consolelogs (#4141)

This commit is contained in:
webzwo0i 2020-06-27 21:12:06 +02:00 committed by GitHub
parent bbee833b89
commit b7dff552f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 0 additions and 28 deletions

View file

@ -334,6 +334,5 @@ function caretPosition($){
var pos = doc.getSelection();
pos.y = pos.anchorNode.parentElement.offsetTop;
pos.x = pos.anchorNode.parentElement.offsetLeft;
console.log(pos);
return pos;
}

View file

@ -39,7 +39,6 @@ describe("clear authorship colors button", function(){
$clearauthorshipcolorsButton.click();
// does the first divs span include an author class?
console.log(inner$("div span").first().attr("class"));
var hasAuthorClass = inner$("div span").first().attr("class").indexOf("author") !== -1;
//expect(hasAuthorClass).to.be(false);
@ -94,7 +93,6 @@ describe("clear authorship colors button", function(){
$clearauthorshipcolorsButton.click();
// does the first divs span include an author class?
console.log(inner$("div span").first().attr("class"));
var hasAuthorClass = inner$("div span").first().attr("class").indexOf("author") !== -1;
//expect(hasAuthorClass).to.be(false);

View file

@ -100,7 +100,6 @@ describe("assign ordered list", function(){
}).done(function(){
var $newSecondLine = inner$("div").first().next();
var hasOLElement = $newSecondLine.find("ol li").length === 1;
console.log($newSecondLine.find("ol"));
expect(hasOLElement).to.be(true);
expect($newSecondLine.text()).to.be("line 2");
var hasLineNumber = $newSecondLine.find("ol").attr("start") === 2;

View file

@ -25,7 +25,6 @@ describe("undo button then redo button", function(){
$redoButton.click(); // resends foo
helper.waitFor(function(){
console.log(inner$("div span").first().text());
return inner$("div span").first().text() === newString;
}).done(function(){
var finalValue = inner$("div").first().text();
@ -58,7 +57,6 @@ describe("undo button then redo button", function(){
inner$("#innerdocbody").trigger(e);
helper.waitFor(function(){
console.log(inner$("div span").first().text());
return inner$("div span").first().text() === newString;
}).done(function(){
var finalValue = inner$("div").first().text();

View file

@ -68,7 +68,6 @@ describe('Responsiveness of Editor', function() {
var end = Date.now(); // get the current time
var delay = end - start; // get the delay as the current time minus the start time
console.log('delay:', delay);
expect(delay).to.be.below(200);
done();
}, 1000);

View file

@ -97,7 +97,6 @@ describe("keep unordered list on enter key", function(){
}).done(function(){
var $newSecondLine = inner$("div").first().next();
var hasULElement = $newSecondLine.find("ul li").length === 1;
console.log($newSecondLine.find("ul").length);
expect(hasULElement).to.be(true);
expect($newSecondLine.text()).to.be("line 2");
done();