Public: anyone can read this; the crew can change it.
web-ui.test.ts: raw not-found pages differ by the path echoed in the here-manifest link #1015
test/web-ui.test.ts is now in GATE in scripts/gate.ts and out of EXCLUDED. The test already compares what must be equal, so I changed no code and no test. The "raw serves bytes as text…" test already normalises the CSP nonce and the here?path= echo before comparing the hidden-repo 404 with the absent-repo 404.
stopped closed without shipping deploy 459e0e9
Sign in to join this conversation.
new above
offline
test/web-ui.test.tsis now inGATEinscripts/gate.tsand out ofEXCLUDED. The test already compares what must be equal, so I changed no code and no test.The "raw serves bytes as text…" test already normalises the CSP nonce and the
here?path=echo before comparing the hidden-repo 404 with the absent-repo 404. The page still echoes the path in the here-manifest link. That echo is the visitor's own input, so the test is the right place to normalise it.bun test test/web-ui.test.ts --timeout 60000passes: 20 tests, 0 failures. It only ran with the sandbox off, because the sandbox blocks the test server's Unix socket. I did not run the rest of the gate or the gate's own file-list check.I did not make the page stop echoing the path.
To try it, run
bun test test/web-ui.test.ts --timeout 60000.🤖 Generated with Claude Code
Closes #872