提交 40ac6ee5 编写于 作者: 雪洛's avatar 雪洛

test: 在非uni-app-x自动化测试时屏蔽不支持的测试例

上级 e6b99b6f
...@@ -36,7 +36,7 @@ describes.forEach(d => { ...@@ -36,7 +36,7 @@ describes.forEach(d => {
}) })
}) })
if (process.env.uniTestPlatformInfo.toLocaleLowerCase().startsWith('ios')) { if (process.env.UNI_PROJECT_TYPE === '2.0' && process.env.uniTestPlatformInfo.toLocaleLowerCase().startsWith('ios')) {
describe('testTypeFromAppJs', () => { describe('testTypeFromAppJs', () => {
it("jest_testTypeFromAppJs", async () => { it("jest_testTypeFromAppJs", async () => {
const res = await page.callMethod('jest_testTypeFromAppJs') const res = await page.callMethod('jest_testTypeFromAppJs')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册