From 0af92921a3efda94cac9a7e18c56f73617d68a50 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 29 Jun 2026 18:53:28 +0300 Subject: [PATCH] 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. --- vitest.config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vitest.config.ts b/vitest.config.ts index e19b9e01c8..56ca6d7192 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -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.