fix(GOV-009): 完成脚手架审查整改

This commit is contained in:
2026-08-13 18:30:57 +08:00
parent dcdf634457
commit 3a8120a33a
47 changed files with 752 additions and 101 deletions
+8
View File
@@ -21,3 +21,11 @@ test('应用外壳在桌面和移动视口均可正常呈现', async ({ page })
expect(hasHorizontalOverflow).toBe(false);
expect(runtimeErrors).toEqual([]);
});
test('Web 通过同源代理访问真实 API 健康契约', async ({ request }) => {
const response = await request.get('/api/v1/health');
const body = (await response.json()) as { process?: string; status?: string };
expect(response.status()).toBe(200);
expect(body).toMatchObject({ process: 'api', status: 'healthy' });
});