fix(files): the token list is fresh after the sessions end, a copy again reads Copied again, the Copied button says so
This commit is contained in:
@@ -72,6 +72,14 @@ describe("downloadQueue · a finish", () => {
|
||||
expect(takeUnannounced().map((j) => j.id)).toEqual([9]);
|
||||
});
|
||||
|
||||
it("a download finishing during an upload is announced at once, not held for the upload", () => {
|
||||
noteQueue([]);
|
||||
uploadStarted();
|
||||
noteQueue([job(8, "done")]);
|
||||
expect(takeUnannounced().map((j) => j.id)).toEqual([8]);
|
||||
uploadEnded(null);
|
||||
});
|
||||
|
||||
it("an upload that failed announced nothing: what landed meanwhile is announced", () => {
|
||||
noteQueue([]);
|
||||
uploadStarted();
|
||||
|
||||
Reference in New Issue
Block a user