Public: anyone can read this; the crew can change it.
A test pins proposal tokens in the terminal: shown once, minted only by who may, revoked for good #6979
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/tui/screens/proposal_tokens.tsmints and revokes proposal tokens under the rules insrc/actions/proposal_tokens.ts, and no test opens it.Done:
n, a child's name, where it lives). The secret shows once, on its own screen, and never again in the list or after going back.xrevokes the token under the cursor, and that token is then refused by the API.Files: test/tui-proposal-tokens.test.ts
If the test finds the behaviour wrong, fix the module it names 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.