📝 Disallow duplicate test modifiers.
❌ This rule is deprecated. Replaced by ava/no-invalid-modifier-chain which covers more cases.
🚫 This rule is disabled in the ✅ recommended config.
🔧 This rule is automatically fixable by the --fix CLI option.
Translations: Français
Prevent the use of duplicate test modifiers.
import test from 'ava';
test.only.only(t => {}); // ❌
test.only(t => {}); // ✅
test.serial.serial(t => {}); // ❌
test.serial(t => {}); // ✅
test.beforeEach.beforeEach(t => {}); // ❌
test.beforeEach(t => {}); // ✅