feat: queue countdown, hold on stop, reply when blocked
Co-Authored-By: Ovis Fast (Claude) <[email protected]>
This commit is contained in:
1 parent
0558449439
commit
7ec35215c6
9 files changed
+361
-44
No files matched your search
@@ -125,3 +125,10 @@ test("saveDraft does not overwrite a known created_ms with null", () => {
|
||||
saveDraft(store, "t2", draft({ text: "x", identity: { created_ms: 7, app: null } }));
|
||||
assert.equal(loadDraft(store, "t2").identity.created_ms, 7);
|
||||
});
|
||||
|
||||
test("queue roundtrip keeps a countdown entry (restart turns it into held)", () => {
|
||||
const store = memStore();
|
||||
const q = [{ id: "1", text: "t", state: "countdown", createdAt: 5, left: 2 }];
|
||||
saveQueue(store, "a", q);
|
||||
assert.deepEqual(loadQueue(store, "a"), q);
|
||||
});
|
||||
Reference in new issue
Block a user