Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 306 Bytes

no-skip-assert.md

File metadata and controls

25 lines (16 loc) · 306 Bytes

Ensure no assertions are skipped

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

Fail

import test from 'tape';

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

Pass

import test from 'tape';

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