提交 887a30d6 编写于 作者: W wangjinxin613

test: 调整测试例

上级 e85183f3
......@@ -36,9 +36,11 @@ describes.forEach(d => {
})
})
if (process.env.uniTestPlatformInfo.startsWith('ios')) {
describe('testTypeFromAppJs', async () => {
const res = await page.callMethod('jest_testTypeFromAppJs')
expect(res).toEqual(true)
if (process.env.uniTestPlatformInfo.toLocaleLowerCase().startsWith('ios')) {
describe('testTypeFromAppJs', () => {
it("jest_testTypeFromAppJs", async () => {
const res = await page.callMethod('jest_testTypeFromAppJs')
expect(res).toEqual(true)
})
})
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册