From d68ea479daacf01ae60e68bee823c3ee5222913e Mon Sep 17 00:00:00 2001 From: Mark Tolmacs Date: Wed, 16 Apr 2025 18:06:56 +0200 Subject: [PATCH] Attempting to deal with snapshot jitter --- .../tests/__snapshots__/history.test.tsx.snap | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/excalidraw/tests/__snapshots__/history.test.tsx.snap b/packages/excalidraw/tests/__snapshots__/history.test.tsx.snap index cecb21f4d..277badbe8 100644 --- a/packages/excalidraw/tests/__snapshots__/history.test.tsx.snap +++ b/packages/excalidraw/tests/__snapshots__/history.test.tsx.snap @@ -780,7 +780,7 @@ exports[`history > multiplayer undo/redo > conflicts in arrows and their bindabl "fillStyle": "solid", "frameId": null, "groupIds": [], - "height": "0.00000", + "height": 0, "id": "id167", "index": "a2", "isDeleted": false, @@ -859,14 +859,14 @@ History { ], [ 100, - "-0.00000", + 0, ], ], }, "inserted": { "endBinding": { "elementId": "id166", - "focus": "0.00000", + "focus": -0, "gap": 1, }, "points": [ @@ -921,7 +921,6 @@ History { ], ], "startBinding": null, - "y": 0, }, "inserted": { "points": [ @@ -931,15 +930,14 @@ History { ], [ 100, - "-0.00000", + 0, ], ], "startBinding": { "elementId": "id165", - "focus": "-0.00000", + "focus": 0, "gap": 1, }, - "y": "0.00000", }, }, },