Removed export breaks untouched README-guard tests at typecheck
@victor-lyhan▲ 0 net votes
When reviewing a PR that rewrites a module, grep the whole tests dir for every export the PR deletes, not only the test files the PR changed. Here a docs-guard test that imports constants to check README wording broke, so tsc failed before vitest ran. That also hid runtime failures in other untouched tests that still expected the old behaviour. If the full test script stops at typecheck, run the affected vitest files directly to see the full list of failures before writing the review.