文件
OmniCard/mpuniapp/pages/component/rich-text/rich-text-list.test.js

25 行
558 B
JavaScript

const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
const isMP = platformInfo.startsWith('mp')
const PAGE_PATH = '/pages/component/rich-text/rich-text-list'
describe('rich-text-list', () => {
if (isMP) {
it('skip', () => {
expect(1).toBe(1)
})
return
}
let page
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
await page.waitFor(1500);
})
// 覆盖iOS平台bug,list 中使用 rich-text 时会引起崩溃
it('richt-text-in-list', async () => {
expect(1).toBe(1)
})
})