no-disabled-tests
Configuration
rslint.config.ts
Rule Details
Disallow disabled or incomplete Jest tests. This rule reports skipped suites/tests via .skip and x* aliases, disallows pending() in test bodies, and flags it() / test() calls that omit the callback function (except test.todo(...)). It helps prevent accidentally committing tests that are skipped or not actually executed.
Examples of incorrect code for this rule:
Examples of correct code for this rule:
Limitations
The plugin looks at the literal function names within test code, so will not catch more complex examples of disabled tests, such as: