Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 630 Bytes

test-title.md

File metadata and controls

29 lines (19 loc) · 630 Bytes

Ensure tests have a title (ava/test-title)

💼 This rule is enabled in the ✅ recommended config.

Translations: Français

Tests should have a title. AVA v1.0.1 and later enforces this at runtime.

Fail

const test = require('ava');

test(t => {
	t.pass();
});

Pass

const test = require('ava');

test('foo', t => {
	t.pass();
});