merge: fix/b-download
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
commit
15d7f2ec2f
10 files changed
+566
-18
No files matched your search
@@ -57,6 +57,11 @@ describe("下载状态", () => {
|
||||
st("paused", "threshold"),
|
||||
);
|
||||
expect(M.mergeObservedDownloadState(st("imported"), "removed")).toEqual(st("removed"));
|
||||
// 已进入整理侧:qB 重启 / 重新校验 / 移动的中间态不把状态改回下载阶段
|
||||
for (const o of ["queued", "downloading", "paused_by_user", "error", "missing_files"] as const) {
|
||||
expect(M.mergeObservedDownloadState(st("imported"), o), o).toEqual(st("imported"));
|
||||
expect(M.mergeObservedDownloadState(st("importing"), o), o).toEqual(st("importing"));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user