提交 cc8a2ef4 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test(global events): 跳过横屏模式测试

上级 a933bccc
const PAGE_PATH = '/pages/component/global-events/global-events'
describe('event trigger', () => {
if (process.env.UNI_TEST_DEVICES_DIRECTION == 'landscape') {
it('跳过横屏模式', () => {
expect(1).toBe(1)
})
return
}
const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
const isAndroid = platformInfo.startsWith('android')
const isIos = platformInfo.startsWith('ios')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册