Rules Hub
Coding Rules Library
← Back to all rules
Rule priority, scope & exceptions
Use this to align rules with the senior-level structure (P0/P1/P2, scope, exceptions/tradeoffs).
fullstack ruleP2universalStack: Jest / Vitest
testingmaintenancevisibility
Skip stale tests explicitly rather than deleting or commenting them
When a test is temporarily out of date, mark it with it.skip (and a note) so it stays visible and is restored later, instead of removing or commenting it out.
PR: hegnar-shareholders-ws · org-mining-hist-2026-06Created: Jun 18, 2026
Bad example
Old codetypescript
| 1 | // it('Should return all-bellsheep correctly', async () => { ... }) // removed |
Explanation (EN)
Objašnjenje (HR)
Good example
New codetypescript
| 1 | it.skip('Should return all-bellsheep correctly', async () => { |
| 2 | // TODO: update when query shape stabilizes |
| 3 | }); |
Explanation (EN)
Objašnjenje (HR)