整理测试代码并清理文档引用

This commit is contained in:
Cheng Zhou
2026-06-22 17:27:11 +08:00
parent 6056c8364a
commit c351ca59c4
75 changed files with 15 additions and 4415 deletions
+7
View File
@@ -88,4 +88,11 @@ describe("Login protocol agreement", () => {
expect(source).toContain("已安全退出");
expect(source).toContain(".logout-notice");
});
it("keeps the login card wide enough on desktop while remaining responsive", () => {
const source = readLoginView();
expect(source).toContain("width: clamp(480px, 34vw, 560px);");
expect(source).toContain("max-width: calc(100vw - 40px);");
});
});