Skip to content

Commit

Permalink
test(component.test.js):调整测试例
Browse files Browse the repository at this point in the history
  • Loading branch information
anne-xml committed Nov 22, 2024
1 parent 2a37ccd commit 7c8dc06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/tabBar/component/component.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
})
Expand Down

0 comments on commit 7c8dc06

Please sign in to comment.