Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 595 Bytes

no-identical-title.md

File metadata and controls

33 lines (23 loc) · 595 Bytes

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

💼 This rule is enabled in the ✅ recommended 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', () => {
	/* ... */
})