Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 560 Bytes

File metadata and controls

23 lines (14 loc) · 560 Bytes

vitest/no-test-prefixes

📝 Disallow using the f and x prefixes in favour of .only and .skip.

⚠️ 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:

xdescribe.each([])('foo', function () {})

Examples of correct code for this rule:

describe.skip.each([])('foo', function () {})