fix: Tests

This commit is contained in:
Mark Tolmacs
2025-11-12 10:30:38 +01:00
parent c8b832b0e1
commit cca904dd54
3 changed files with 423 additions and 451 deletions

View File

@@ -18,8 +18,10 @@ import {
pointFromArray,
pointFromVector,
pointRotateRads,
pointTranslate,
rectangle,
vectorFromPoint,
vectorNormalize,
vectorScale,
type GlobalPoint,
} from "@excalidraw/math";

File diff suppressed because it is too large Load Diff

View File

@@ -4626,7 +4626,7 @@ describe("history", () => {
}),
endBinding: expect.objectContaining({
elementId: rect2.id,
fixedPoint: [0.41092297821765383, 0.5890770217823459],
fixedPoint: [0.4109229782176541, 0.5890770217823459],
mode: "orbit",
}),
}),
@@ -4770,7 +4770,7 @@ describe("history", () => {
// rebound with previous rectangle
endBinding: expect.objectContaining({
elementId: rect2.id,
fixedPoint: [0.41019091151895054, 0.5898090884810496],
fixedPoint: [0.41019091151895054, 0.5898090884810495],
mode: "orbit",
}),
}),