Skip to content

Commit

Permalink
chore: test error
Browse files Browse the repository at this point in the history
  • Loading branch information
skie1997 committed Jan 5, 2024
1 parent 3e85873 commit 6374064
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ describe('Marker', () => {
expect((markPointContainer.children[0] as unknown as Segment).startSymbol?.attribute.y).toBe(250);

// tag构造的label
expect((markPointContainer.children[2] as unknown as Tag).attribute.x).toBeCloseTo(209.5782628522115);
expect((markPointContainer.children[2] as unknown as Tag).attribute.y).toBeCloseTo(282.87347885566345);
expect((markPointContainer.children[2] as unknown as Tag).attribute.x).toBeCloseTo(210);
expect((markPointContainer.children[2] as unknown as Tag).attribute.y).toBeCloseTo(280);
expect(
((markPointContainer.children[2] as unknown as Tag).getChildByName('tag-content') as any).children[0].attribute
.text
Expand Down

0 comments on commit 6374064

Please sign in to comment.