Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 652 Bytes

File metadata and controls

35 lines (24 loc) · 652 Bytes

vitest/no-identical-title

📝 Disallow identical titles.

💼⚠️ 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', () => {
  /* ... */
})