Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 694 Bytes

File metadata and controls

24 lines (15 loc) · 694 Bytes

ava/no-skip-assert

📝 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.skip.xyz() and then forget about it.

Examples

import test from 'ava';

test('some title', t => {
	t.skip.is(1, 1); // ❌
	t.is(1, 1); // ✅
});