Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 647 Bytes

no-identical-title.md

File metadata and controls

35 lines (24 loc) · 647 Bytes

Disallow identical titles (vitest/no-identical-title)

💼 This rule is enabled in the ✅ recommended config.

⚠️ This rule warns in the 🌐 all config.

🔧 This rule is automatically fixable by the --fix CLI option.

Rule Details

Examples of incorrect code for this rule:

it('is awesome', () => {
	/* ... */
})

it('is awesome', () => {
	/* ... */
})

Examples of correct code for this rule:

it('is awesome', () => {
	/* ... */
})

it('is very awesome', () => {
	/* ... */
})