Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 464 Bytes

no-todo-test.md

File metadata and controls

23 lines (15 loc) · 464 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
});