ava/no-skip-test
February 8, 2026 · View on GitHub
📝 Disallow skipping tests.
💼 This rule is enabled in the ✅ recommended config.
💡 This rule is manually fixable by editor suggestions.
Translations: Français
It's easy to make a test skipped with test.skip() and then forget about it. It's visible in the results, but still easily missed.
Examples
import test from 'ava';
test('foo', t => {
t.pass();
});
test.skip('bar', t => { // ❌
t.pass();
});
test('bar', t => { // ✅
t.pass();
});