From 3c2285799a89898cc1282d8e5bd140486cd308f1 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Thu, 15 Aug 2024 19:49:08 +0800 Subject: [PATCH] =?UTF-8?q?test(picker-view):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=88=AA=E5=9B=BE=E5=8C=BA=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/picker-view/picker-view.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/component/picker-view/picker-view.test.js b/pages/component/picker-view/picker-view.test.js index bddb0224..bfac4677 100644 --- a/pages/component/picker-view/picker-view.test.js +++ b/pages/component/picker-view/picker-view.test.js @@ -14,7 +14,7 @@ describe('PickerView.uvue', () => { }) async function toScreenshot(imgName) { - const image = await program.screenshot(); + const image = await program.screenshot({fullPage: true}); expect(image).toSaveImageSnapshot({customSnapshotIdentifier() { return imgName }}) -- GitLab