refactor: 确立独立子工程架构 (backend, admin, mpuniapp) 并同步更新 AGENTS.md 规范
这个提交包含在:
@@ -0,0 +1,25 @@
|
||||
const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
|
||||
const isMP = platformInfo.startsWith('mp')
|
||||
|
||||
const PAGE_PATH = '/pages/API/rpx2px/rpx2px'
|
||||
|
||||
describe('API-rpx2px', () => {
|
||||
if(isMP) {
|
||||
it('not support', () => {
|
||||
expect(1).toBe(1)
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
it('rpx2px', async () => {
|
||||
page = await program.reLaunch(PAGE_PATH)
|
||||
await page.waitFor('view');
|
||||
|
||||
const btnConvert = await page.$('#convert')
|
||||
await btnConvert.tap()
|
||||
await page.waitFor(100)
|
||||
|
||||
const data = await page.data('data')
|
||||
expect(data.result).toBe(true)
|
||||
});
|
||||
});
|
||||
在新工单中引用
屏蔽一个用户