test: volume_state_unknown 原因文案改为「下载目录读不到容量」后同步测试期望

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-10-03 23:30:18 +08:00
1 parent 19f7bd0330
commit 9ae287beb2
2 files changed
+2 -2

No files matched your search

@@ -64,7 +64,7 @@ describe("humanizeReport(汇报兜底)", () => {
names,
);
expect(r.text).toBe(
"检测站点 被拒;查看下载任务 无法调用(返回 参数不对);准备下载 返回 plan=null,拒绝原因 下载盘用量未知",
"检测站点 被拒;查看下载任务 无法调用(返回 参数不对);准备下载 返回 plan=null,拒绝原因 下载目录读不到容量",
);
expect(r.text).not.toMatch(/site\.health_check|invalid_input|volume_state_unknown/);
expect(humanizeReport("被规则拒绝(unauthorized),未重试", names).text).toBe("被规则拒绝(需要你批准),未重试");