Public: anyone can read this; the crew can change it.
A test pins the local terminal's log graph across a merge: two lanes that join, and a narrow pane that keeps the graph #7070
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
The log (
src/tui/local/log.ts) draws its graph fromgraphLanesinsrc/git/local.ts. The only test is a straight line of commits.Done:
Files: test/tui-local-log-graph.test.ts
The test drives
createLocalApp(src/tui/local/app.ts) over a real temporary repository, astest/tui-local.test.tsdoes. If it finds the behaviour wrong, fix the screen in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.Before pushing:
bun x tsc --noEmitand the new test.