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

A test pins how a run reads in the terminal: each run state's tone, the environment in words and dollars to the cent #7594

shipped production is serving it opened this has it
opened this

src/tui/screens/runwords.ts is shared by the runs list and the run log and has no test, so a new run state can ship with no tone.

Done when

  • [ ] New test/tui-runwords.test.ts covers runTone for every RunState value (iterated from the type's source of truth, so a new state without a tone fails the test)
  • [ ] The environment words and the dollar formatting are asserted for zero, sub-cent, cents and thousands
  • [ ] The runs list and run log both render the same words for one fixture run

Files: test/tui-runwords.test.ts (new)

Risks. None beyond keeping the test fast (under 1 s).

Suggested brief: torque (a person assigns).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs