diff --git a/pages/API/nodes-info/nodes-info.test.js b/pages/API/nodes-info/nodes-info.test.js index d6be1f8e268c66d2db12695ed8d234b17293d465..ce8077a78a9948272073832dfecda31de81918a5 100644 --- a/pages/API/nodes-info/nodes-info.test.js +++ b/pages/API/nodes-info/nodes-info.test.js @@ -39,7 +39,7 @@ describe('nodes-info', () => { expect(Math.round(nodeInfo1.height)).toBe(RECT_HEIGHT) const nodeInfo2 = data.nodeInfoList[1] - expect(nodeInfo2.left > 200).toBe(true) + expect(nodeInfo2.left > 180).toBe(true) expect(nodeInfo2.top > 220).toBe(true) expect(Math.round(nodeInfo2.width)).toBe(RECT_WIDTH) expect(Math.round(nodeInfo2.height)).toBe(RECT_HEIGHT)