✅ Updated test after path optimizations
This commit is contained in:
parent
f3435e07d3
commit
f00bd716c7
1 changed files with 1 additions and 1 deletions
|
@ -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", () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue