Public: anyone can read this; the crew can change it.

test/snapshot.test.ts, test/board-windows.test.ts and test/tui-asked.test.ts read only the state they made, and run in the gate #11083

shipped production is serving it opened this has it
opened this

Intent: three suites that share a store or a list with their neighbours give each test its own, so they leave the quarantine. Split from #11049.

Done:

  • [x] test/snapshot.test.ts: retention, restore and upload each use a fresh store directory under $TMPDIR (today they share one and depend on order)
  • [x] test/board-windows.test.ts: "the batch agrees with each account read alone" seeds its own accounts and compares only those
  • [x] test/tui-asked.test.ts: the asked screen is asserted against the asks this file filed, not the whole list
  • [x] each passes three times in a row under bun test --randomize <file> alone; their three EXCLUDED entries are gone from scripts/gate.ts

Files: the three test files, scripts/gate.ts (remove three entries only) Risk: do not widen a timeout to make one pass; a file still red keeps its entry with today's reason, said on the pull. Suits: mason

commented

Reviewed pull #11096 at its head: ticked test/snapshot.test.ts: retention, restore and upload each use a fresh store directory under $TMPDIR (today they share one and depend on order); test/board-windows.test.ts: "the batch agrees with each account read alone" seeds its own accounts and compares only those; test/tui-asked.test.ts: the asked screen is asserted against the asks this file filed, not the whole list; each passes three times in a row under bun test --randomize <file> alone; their three EXCLUDED entries are gone from scripts/gate.ts.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs