1
0
Fork 0

Updated test after path optimizations

This commit is contained in:
Joost De Cock 2018-09-05 10:54:23 +02:00
parent f3435e07d3
commit f00bd716c7

View file

@ -158,7 +158,7 @@ it("Should join paths", () => {
.move(new a.Point(123, 456)) .move(new a.Point(123, 456))
.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));
a.paths.joint = a.paths.curve.join(a.paths.line); a.paths.joint = a.paths.curve.join(a.paths.line);
expect(a.paths.joint.ops.length).to.equal(5); expect(a.paths.joint.ops.length).to.equal(4);
}); });
it("Should throw error when joining a closed paths", () => { it("Should throw error when joining a closed paths", () => {