Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 458 Bytes

no-todo-test.md

File metadata and controls

25 lines (15 loc) · 458 Bytes

Ensure no test.todo() is used

Translations: Français

Disallow the use of test.todo(). You might want to do this to only ship features with specs fully written and passing.

Fail

import test from 'ava';

test.todo('some test');

Pass

import test from 'ava';

test('some test', t => {
	// Some implementation
});