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:
+6
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user