prefer-todo
Configuration
rslint.config.ts
Rule Details
Prefer test.todo('…') (or the same on it / describe-style test APIs) when a test is only a title, has an empty implementation (() => ), or is test.skip with an empty body. That makes unfinished work explicit in Jest’s reporting instead of looking like a passing or silently skipped test.
Examples of incorrect code for this rule:
Example of correct code for this rule: