Skip to content

Commit 04473c0

Browse files
authored
Merge branch 'staging' into update-nodes-color
2 parents 14879f8 + 1b48f05 commit 04473c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/tests/canvas.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ test.describe("Canvas tests", () => {
4949
await codeGraph.clickZoomOut();
5050
await codeGraph.clickCenter();
5151
const updatedGraph = await codeGraph.getCanvasScaling();
52-
expect(Math.abs(initialGraph.scaleX - updatedGraph.scaleX)).toBeLessThanOrEqual(0.05);
53-
expect(Math.abs(initialGraph.scaleY - updatedGraph.scaleY)).toBeLessThanOrEqual(0.05);
52+
expect(Math.abs(initialGraph.scaleX - updatedGraph.scaleX)).toBeLessThanOrEqual(0.1);
53+
expect(Math.abs(initialGraph.scaleY - updatedGraph.scaleY)).toBeLessThanOrEqual(0.1);
5454

5555
})
5656

0 commit comments

Comments
 (0)