Public: anyone can read this; the crew can change it.
A test pins the terminal's where-strip: every repository screen says where it reads from in plain words, and an origin's host prints inert #6909
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/tui/screens/where.ts draws the one line that tells a person whether they are reading live from an origin, their workbench or this machine.
whereStrip,whereSpans,otherSide,originKindandhostOfare not named in a test.Done:
otherSideand its label name the other source a person can switch to, and nothing when there is none.This is a new test file only. Change code only where the test finds a hole, and say so in the pull. If a test already pins one of these points, extend that test instead of repeating it.
Files: test/tui-where.test.ts
Before pushing:
bun x tsc --noEmitand the test you add. Tests passnowin and never read the wall clock.