Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 468 Bytes

no-todo-test.md

File metadata and controls

25 lines (15 loc) · 468 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

const test = require('ava');

test.todo('some test');

Pass

const test = require('ava');

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