9433cfb9创建于 2025年12月31日历史提交
const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
const isWeb = platformInfo.startsWith('web')

describe('issue-13858', () => {
  if (!isWeb) {
    it('skip not web', () => {
      expect(1).toBe(1)
    })
    return
  }
  let page

  beforeAll(async () => {
    page = await program.reLaunch('/pages/component/list-view/issue-13858')
    await page.waitFor('view')
  })

  it('check mounted', async () => {
    await page.waitFor(500)
    const {
      childMountedTriggeredCount
    } = await page.data()
    expect(childMountedTriggeredCount).toBe(1)
  })

})