include eslint plugin tests in vitest run

These ran under jest-expo's default testMatch but were missed by the
initial vitest include glob (they live under eslint/, not src/ or
__tests__/, and are .js). Recovers 101 tests covering the
avoid-unwrapped-text and lingui-msg-rule custom rules.
This commit is contained in:
Samuel Newman
2026-06-29 18:53:28 +03:00
parent fcff2ad756
commit 0af92921a3
+6 -1
View File
@@ -141,7 +141,12 @@ export default defineConfig({
* sibling packages (bskyembed, bskyogcard, dev-env, bskylink) have their
* own runners and must not be swept up.
*/
include: ['__tests__/**/*.test.{ts,tsx}', 'src/**/*.test.{ts,tsx}'],
include: [
'__tests__/**/*.test.{ts,tsx}',
'src/**/*.test.{ts,tsx}',
// Tests for the internal ESLint plugin (CJS, .js, use RuleTester).
'eslint/**/*.test.{js,ts}',
],
exclude: [
'**/node_modules/**',
// Stale duplicate test trees live here - must not be picked up.