Skip to content

将代理回归测试移出页面目录 - #45

Merged
jhl-hk merged 1 commit into
mainfrom
fix/35-test-routes
Nov 12, 2026
Merged

jhl-hk merged 1 commit into
mainfrom
fix/35-test-routes

Conversation

@jhl-hk

@jhl-hk jhl-hk commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

将导出代理回归测试从 src/pages/api/v1 移至 src/server,更新导入与目录约定。

关联 JianyueLab-Org/can-controller#35。

已验证:292 项测试、1555 项断言及完整检查通过。构建后的真实 Node SSR 服务中,旧测试 URL 返回 404;实际退出登录路由 GET 返回 405,Allow 为 POST。

中央页面测试文件检查属于后续 can-ui PR 的源码变更。本 PR 保持 can-ui 27.9.0 版本固定值不变,不包含包发布。

@github-actions

Copy link
Copy Markdown

🤖 AI Code Review

Full review of 3f66231...e84668d.

🔴 0 critical · 🟠 0 warning · 🔵 0 suggestion

The change correctly relocates the proxy regression test out of src/pages/, while preserving its imports and coverage. I found no concrete functional, security, or edge-case regressions in the provided diff.

No issues found.

Model: expen · generated automatically. Use judgment — it can be wrong.

@jhl-hk
jhl-hk merged commit 6557237 into main Nov 12, 2026
2 checks passed
@jhl-hk
jhl-hk deleted the fix/35-test-routes branch November 18, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant