Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 439 Bytes

no-skip-assert.md

File metadata and controls

27 lines (17 loc) · 439 Bytes

Ensure no assertions are skipped

Translations: Français

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

Fail

import test from 'ava';

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

Pass

import test from 'ava';

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