Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 439 Bytes

test-title.md

File metadata and controls

27 lines (17 loc) · 439 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

import test from 'ava';

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

Pass

import test from 'ava';

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