Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 449 Bytes

test-title.md

File metadata and controls

27 lines (17 loc) · 449 Bytes

Ensure tests have a title

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