Summary
Vitest 4.1 introduced test.override as the replacement for deprecated test.scoped.
eslint-plugin-vitest already treats test.scoped / it.scoped as fixture configuration APIs rather than test cases in several rules. However, test.override / it.override is not handled the same way yet.
This can cause false positives in rules that inspect test calls, titles, or hook ordering.
Affected rules
Summary
Vitest 4.1 introduced
test.overrideas the replacement for deprecatedtest.scoped.eslint-plugin-vitest already treats
test.scoped/it.scopedas fixture configuration APIs rather than test cases in several rules. However,test.override/it.overrideis not handled the same way yet.This can cause false positives in rules that inspect test calls, titles, or hook ordering.
Affected rules
expect-expecttest.override(...)/it.override(...).prefer-hooks-on-toptest.override(...)/it.override(...)as test cases before hooks.valid-titletest.override(...)/it.override(...)as titled test calls.require-top-level-describetest.override(...)/it.override(...)as top-level test cases.