refactor: 确立独立子工程架构 (backend, admin, mpuniapp) 并同步更新 AGENTS.md 规范
这个提交包含在:
@@ -0,0 +1,22 @@
|
||||
const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
|
||||
const isIOS = platformInfo.startsWith('ios')
|
||||
const isAndroid = platformInfo.startsWith('android')
|
||||
|
||||
describe('component loading', () => {
|
||||
if (!(isIOS || isAndroid)) {
|
||||
it('skip', async () => {
|
||||
expect(1).toBe(1);
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
beforeAll(async () => {
|
||||
const page = await program.reLaunch('/pages/component/loading/loading');
|
||||
await page.waitFor('view');
|
||||
});
|
||||
|
||||
it('screenshot', async () => {
|
||||
const image = await program.screenshot({fullPage: true})
|
||||
expect(image).toSaveImageSnapshot();
|
||||
})
|
||||
})
|
||||
在新工单中引用
屏蔽一个用户