Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 649 Bytes

File metadata and controls

35 lines (24 loc) · 649 Bytes

ava/no-identical-title

📝 Disallow identical test titles.

💼 This rule is enabled in the ✅ recommended config.

Translations: Français

Disallow tests with identical titles as it makes it hard to differentiate them.

Examples

import test from 'ava';

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

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

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

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