Files
stack/agents/magica/work/queue-329/gate/cli-mark-read.test.txt

19 lines
1.0 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/cli/tests/mark-read.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/jVQHHw
begin: {"utc": "2026-10-24T20:20:54.197+00:00", "load1": "5.10"}
launch nice: 19
✔ inbox --read marks one message by the id inbox prints, delivered or not, and leaves the rest unread (39.491632ms)
✔ inbox --read refuses an id that is not the human's, prints its code, still marks the rest and exits 2 (22.574019ms)
✔ inbox --read refuses an ambiguous or short prefix, names every match, reads nothing for them and marks the rest (0.833709ms)
✔ inbox --read-all marks every message the inbox walk lists, delivered or not, and inbox then shows 0 unread (797.850319ms)
✔ inbox --read stops on an error that is not about one message (0.806594ms)
✔ inbox --read and --read-all refuse bad combinations; other verbs refuse them (16.00297ms)
ℹ tests 6
ℹ suites 0
ℹ pass 6
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1025.927378