From 7c8dc065ffb087a959857a8c760fa0a4613b36d3 Mon Sep 17 00:00:00 2001 From: anne-xml Date: Fri, 22 Nov 2024 11:45:19 +0800 Subject: [PATCH] =?UTF-8?q?test(component.test.js)=EF=BC=9A=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E6=B5=8B=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabBar/component/component.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/tabBar/component/component.test.js b/pages/tabBar/component/component.test.js index 57ee9a50..624f534b 100644 --- a/pages/tabBar/component/component.test.js +++ b/pages/tabBar/component/component.test.js @@ -37,7 +37,7 @@ describe('pages/tabBar/component/component.nvue', () => { const lists = await page.$$('.uni-panel') if(process.env.UNI_PLATFORM == 'app-plus' || process.env.UNI_PLATFORM == 'mp-weixin'){ expect(lists.length).toBe(9) - }else if(process.env.UNI_PLATFORM == 'h5'){ + }else if(process.env.UNI_PLATFORM == 'h5' && !containsVite){ expect(lists.length).toBe(8) } })