Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 385 Bytes

no-disabled-tests.md

File metadata and controls

25 lines (17 loc) · 385 Bytes

Disallow disabled tests (vitest/no-disabled-tests)

⚠️ This rule warns in the 🌐 all config.

Rule Details

This rule disallows disabled tests.

Examples of incorrect code for this rule:

test.skip('foo', () => {
  // ...
})

Examples of correct code for this rule:

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