290 B
290 B
Test-First Development
- Always write a failing unit test before implementing a fix.
- Run the test to confirm it reproduces the bug or fails as expected, then apply the fix and verify the test passes.
- Run the full test suite (
pnpm test) after changes to ensure no regressions.