refactor(*): 稳定期治理 - 收敛核心架构、错误语义并修复跨项目数据竞态

This commit is contained in:
ddCat
2026-09-09 22:02:10 +08:00
parent bacd502f5c
commit b5f3413ded
298 changed files with 12681 additions and 26428 deletions

View File

@@ -67,11 +67,11 @@ describe("text reasoning streams", () => {
expect(output).toEqual({ result: "可见回答", content: "可见回答", reasoning: "内部思考" });
});
test("keeps single results open and collapses completed bulk results on restore", () => {
test("keeps completed results open until the user collapses them", () => {
const single = renderToStaticMarkup(React.createElement(GenerationToolCard, { status: "completed", heading: "图像生成" }, React.createElement("span", null, "单图结果")));
const bulk = renderToStaticMarkup(React.createElement(GenerationToolCard, { status: "completed", isBulk: true, heading: "图像生成" }, React.createElement("span", null, "批量结果")));
const bulk = renderToStaticMarkup(React.createElement(GenerationToolCard, { status: "completed", heading: "图像生成" }, React.createElement("span", null, "批量结果")));
expect(single).toContain("单图结果");
expect(bulk).not.toContain("批量结果");
expect(bulk).toContain("批量结果");
});
});