ava/no-skip-assert

April 6, 2026 ยท View on GitHub

๐Ÿ“ Disallow skipping assertions.

๐Ÿ’ผ This rule is enabled in the โœ… recommended config.

๐Ÿ’ก This rule is manually fixable by editor suggestions.

Translations: Franรงais

It's easy to make an assertion skipped with t.xyz.skip() and then forget about it.

Examples

import test from 'ava';

test('some title', t => {
	t.is.skip(1, 1); // โŒ
	t.is(1, 1); // โœ…
});