mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-13 01:04:32 +01:00
fix: Tests
This commit is contained in:
@@ -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
@@ -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",
|
||||
}),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user