no-test-comments
Express test behavior through names, fixtures and assertions instead of prose comments.
Why
Test comments duplicate or obscure behavior that executable setup and assertions should communicate.
Fix
Move the explanation into a descriptive test or helper name, then remove the comment. Review and migrate legal notices and tool directives before removing frontend comments; preserve those contracts in non-frontend tests.
Examples
expect(result.status).toBe(409); // Confirm the rejected requestexpect(result.status).toBe(409);Autofix output
expect(result.status).toBe(409);