Back to prompts
Scan tests that would pass even if the underlying logic were incorrect. Look for: - Snapshots asserting nothing meaningful - Over-mocked dependencies - Tests asserting implementation details Output: - Flag weak tests - Recommend behavior-based assertions
Related Prompts
View allSurprising or Non-Obvious Behavior
Identify functions, hooks, or utilities whose behavior is surprising or non-obvious. Look for: - Fu...
Code QualitySide Effects
Untestable Code Zones
Identify code that is difficult or impossible to test due to tight coupling, hidden globals, or side...
TestingRefactoring
useEffect Best Practices Refactor
You are a senior React engineer. Refactor the provided React/Next.js codebase to follow strict useEf...
ReactuseEffect
ESLint Disable Cleanup
You are a senior frontend engineer acting as a repo-wide refactor agent. Objective: Find, evaluate,...
ESLintCode Quality