Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 440 Bytes

no-commented-out-tests.md

File metadata and controls

25 lines (17 loc) · 440 Bytes

Disallow commented out tests (vitest/no-commented-out-tests)

💼 This rule is enabled in the ✅ recommended config.

Rule Details

This rule aims to prevent commented out tests.

Examples of incorrect code for this rule:

// test('foo', () => {
//   expect(1).toBe(1)
// })

Examples of correct code for this rule:

test('foo', () => {
  expect(1).toBe(1)
})