Skip to content

Commit

Permalink
Adapt test
Browse files Browse the repository at this point in the history
  • Loading branch information
tbennun authored Sep 6, 2024
1 parent 6df1c9a commit 61e5729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/layouter/state_machine/sm_layouter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ function testEdgeRoutingSelfLoop(): void {
const node = graph.get('1')!;
const lowerY = node.y + (node.height / 4);
const upperY = node.y - (node.height / 4);
const leftX = node.x - ((node.width / 2) + BACKEDGE_SPACING);
const leftX = node.x - ((node.width / 2) + (BACKEDGE_SPACING / 2));
const rightX = node.x - (node.width / 2);
expect(selfEdge.points.length).toBe(4);
expect(selfEdge.points[0].x).toBeCloseTo(rightX);
Expand Down

0 comments on commit 61e5729

Please sign in to comment.