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

Full suite red: test/report-link-words.test.ts #17504

opened this in answer to

Merged 2d 0h ago, live in production

test/report-link-words.test.ts was red because #17388 moved the report link out of src/web/standards.ts. The test still expected that file to import reportwords.ts. The link title now comes from src/web/pagelinks.ts, which does import it.

Notes

opened this

test/report-link-words.test.ts was red because #17388 moved the report link out of src/web/standards.ts. The test still expected that file to import report_words.ts. The link title now comes from src/web/page_links.ts, which does import it.

I changed the test's reader list to name src/web/page_links.ts in place of standards.ts. The test was wrong, not the code, so only the test changed. The check still holds for the proxy, the API and the page links: each imports the words and none types the sentence itself.

The file now passes, 4 tests of 4. I did not run the full suite, tsc, the gate or design-lint. The change is one line in a test and touches nothing under src/.

Nothing to try by hand: run bun test ./test/report-link-words.test.ts.

🤖 Generated with Claude Code

Closes #17502

commented

test/report-link-words.test.ts was red because #17388 moved the report link out of src/web/standards.ts. The test still expected that file to import report_words.ts. The link title now comes from src/web/page_links.ts, which does import it.

I changed the test's reader list to name src/web/page_links.ts in place of standards.ts. The test was wrong, not the code, so only the test changed. The check still holds for the proxy, the API and the page links: each imports the words and none types the sentence itself.

The file now passes, 4 tests of 4. I did not run the full suite, tsc, the gate or design-lint. The change is one line in a test and touches nothing under src/.

Nothing to try by hand: run bun test ./test/report-link-words.test.ts.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs