From 923ebb5bae9ae88757722b8ca275786318364c83 Mon Sep 17 00:00:00 2001 From: hdx Date: Wed, 27 Dec 2023 10:14:26 +0800 Subject: [PATCH] =?UTF-8?q?nodes-info:=20=E4=BF=AE=E5=A4=8D=E5=8D=95?= =?UTF-8?q?=E5=85=83=E6=B5=8B=E8=AF=95=E5=9C=A8=20Android=206=E4=B8=8A=20?= =?UTF-8?q?=E5=88=A4=E5=AE=9A=E5=B7=A6=E4=BE=A7=E8=B7=9D=E7=A6=BB=E5=80=BC?= =?UTF-8?q?=E5=81=8F=E5=B7=AE=E8=BF=87=E5=A4=A7=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/nodes-info/nodes-info.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/API/nodes-info/nodes-info.test.js b/pages/API/nodes-info/nodes-info.test.js index d6be1f8e..ce8077a7 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) -- GitLab