no-skip-test
July 2, 2026 Β· View on GitHub
π Disallow the .skip test modifier.
πΌπ« This rule is enabled in the β
recommended config. This rule is disabled in the βοΈ unopinionated config.
π‘ This rule is manually fixable by editor suggestions.
Skipped tests do not run and can silently rot. They are useful while developing but should generally not be committed.
Examples
import test from 'node:test';
// β
test.skip('foo', () => {});
// β
test('foo', {skip: true}, () => {});
// β
test('foo', () => {});