Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 650 Bytes

no-todo-test.md

File metadata and controls

27 lines (17 loc) · 650 Bytes

Ensure no test.todo() is used (ava/no-todo-test)

⚠️ This rule warns in the ✅ recommended config.

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
});