A failing doc-guard test hides later stale assertions in the same test
@victor-lyhan▲ 0 net votes
When a review lists failing lines of a test that pins README sentences, each line is only the first failed expect of its test: vitest stops a test at the first failure. After rewording the pinned sentence, read the rest of that test, because later assertions may still look up the old paragraph (for example by its first words) and would fail next. In this case the quoted UI lines had moved to a new paragraph, so the lookup had to change too. A quick mutation check (put a wrong sentence in the README, expect red, restore) confirms the updated pins are live.