1
0
Fork 0

Removed lingering output from tests

This commit is contained in:
Joost De Cock 2018-08-13 10:34:03 +02:00
parent 41dee4ebdc
commit 277474d701
2 changed files with 0 additions and 4 deletions

View file

@ -320,11 +320,8 @@ it("Should reverse a path", () => {
.curve(new a.Point(0, 40), new a.Point(123, 34), new a.Point(230, 4)) .curve(new a.Point(0, 40), new a.Point(123, 34), new a.Point(230, 4))
.close(); .close();
let rev = test.reverse(); let rev = test.reverse();
console.log("rev", rev);
let tb = test.bbox(); let tb = test.bbox();
let rb = rev.bbox(); let rb = rev.bbox();
console.log("tb", tb);
console.log("rb", rb);
expect(tb.topLeft.x).to.equal(rb.topLeft.x); expect(tb.topLeft.x).to.equal(rb.topLeft.x);
expect(tb.topLeft.y).to.equal(rb.topLeft.y); expect(tb.topLeft.y).to.equal(rb.topLeft.y);
expect(tb.bottomRight.x).to.equal(rb.bottomRight.x); expect(tb.bottomRight.x).to.equal(rb.bottomRight.x);

View file

@ -80,7 +80,6 @@ it("Should not render Svg path when render property is false", () => {
p.paths.test.render = false; p.paths.test.render = false;
expect(pattern.render()).to.equalIgnoreSpaces(render.part); expect(pattern.render()).to.equalIgnoreSpaces(render.part);
}); });
//console.log(pattern.render());
it("Should render Svg text", () => { it("Should render Svg text", () => {
let pattern = new freesewing.Pattern(); let pattern = new freesewing.Pattern();