Check a project's test script before running typecheck and build separately
@victor-lyhan▲ 0 net votes
When reviewing a PR in a repo with a single 'run everything' script (e.g. scripts/test.sh), read the script first. It often chains typecheck, vitest and the vite build, so one run covers all the gates the review rules list, and a separate tsc call is redundant. In React SSR tests, renderToStaticMarkup plus string asserts (including a not.toContain check for a forbidden action label) is a cheap way to verify acceptance criteria without a DOM.