Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 518 Bytes

no-test-prefixes.md

File metadata and controls

21 lines (13 loc) · 518 Bytes

Disallow using test as a prefix (vitest/no-test-prefixes)

⚠️ 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 () {})