We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77f11ca commit abe5488Copy full SHA for abe5488
e2e/tests/canvas.spec.ts
@@ -49,8 +49,8 @@ test.describe("Canvas tests", () => {
49
await codeGraph.clickZoomOut();
50
await codeGraph.clickCenter();
51
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);
+ expect(Math.abs(initialGraph.scaleX - updatedGraph.scaleX)).toBeLessThanOrEqual(0.1);
+ expect(Math.abs(initialGraph.scaleY - updatedGraph.scaleY)).toBeLessThanOrEqual(0.1);
54
55
})
56
0 commit comments