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', () => {});