# Testing signals — typescript-eslint/typescript-eslint

> Canonical page: https://codevetter.com/unpack/typescript-eslint/testing-signals

# Testing signals — typescript-eslint/typescript-eslint

Scanned commit effa652828afba0aa730f106cb326c54a97ccfb5 (2026-10-01). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

Tests and CI were inspected, not executed; no passing result or measured coverage is asserted. Vitest supplies package suites, with RuleTester cases, parser snapshots, mocked service tests, and packed-package integrations. CI conditionally selects affected packages and adds compatibility and snapshot checks. The inspected configuration excludes website suites from the root test project, so it does not establish browser-flow coverage; the inventory remains bounded.
- The shared Vitest configuration enables globals, disables isolation and watch mode, installs console-fail-test setup, discovers test/test-d files, and configures source coverage with fixture exclusions. — [vitest.config.base.mts#L5-33](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/vitest.config.base.mts#L5-L33)
- Parser service tests discover .src.ts fixtures, snapshot converted ASTs, and assert that parser services contain a Program for configured parsing paths. — [packages/parser/tests/lib/services.test.ts#L17-57](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/parser/tests/lib/services.test.ts#L17-L57)
- no-floating-promises tests use createRuleTesterWithTypes, include accepted handling/void examples, and assert suggestion outputs; the helper defaults typed tests to projectService unless a project was requested. — [packages/eslint-plugin/tests/rules/no-floating-promises.test.ts#L1-39](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/eslint-plugin/tests/rules/no-floating-promises.test.ts#L1-L39) [packages/eslint-plugin/tests/rules/no-floating-promises.test.ts#L1195-1244](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/eslint-plugin/tests/rules/no-floating-promises.test.ts#L1195-L1244) [packages/eslint-plugin/tests/RuleTester.ts#L6-22](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/eslint-plugin/tests/RuleTester.ts#L6-L22)
- Project-service tests mock configuration parsing and host configuration, while useProgramFromProjectService tests substitute service/program factories; these assertions exercise branch behavior without proving complete real-tsserver interoperability. — [packages/project-service/tests/createProjectService.test.ts#L6-54](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/project-service/tests/createProjectService.test.ts#L6-L54) [packages/project-service/tests/createProjectService.test.ts#L61-104](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/project-service/tests/createProjectService.test.ts#L61-L104) [packages/typescript-estree/tests/lib/useProgramFromProjectService.test.ts#L13-57](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/typescript-estree/tests/lib/useProgramFromProjectService.test.ts#L13-L57)
- Cleanup-throttle tests use a fake service and performance timers to check first cleanup, 249/250 ms boundaries, out-of-open cleanup, argument/this forwarding, return values, and thrown errors. — [packages/project-service/tests/throttleOpenedFileCleanup.test.ts#L13-42](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/project-service/tests/throttleOpenedFileCleanup.test.ts#L13-L42) [packages/project-service/tests/throttleOpenedFileCleanup.test.ts#L44-99](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/project-service/tests/throttleOpenedFileCleanup.test.ts#L44-L99) [packages/project-service/tests/throttleOpenedFileCleanup.test.ts#L111-155](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/project-service/tests/throttleOpenedFileCleanup.test.ts#L111-L155)
- Preset tests compare metadata-derived rule selections against all, disable-type-checked, and recommended configs; scope fixtures discover JS/TS/JSX/TSX files with per-fixture analysis options. — [packages/eslint-plugin/tests/configs.test.ts#L122-150](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/eslint-plugin/tests/configs.test.ts#L122-L150) [packages/eslint-plugin/tests/configs.test.ts#L154-168](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/eslint-plugin/tests/configs.test.ts#L154-L168) [packages/scope-manager/tests/fixtures.test.ts#L15-50](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/scope-manager/tests/fixtures.test.ts#L15-L50)
- Integration Vitest setup packs public packages and installs temporary fixture dependencies; ESLint integration tests run --fix-dry-run, parse JSON output, normalize paths, and compare snapshots, including an ESLint-v9 fixture. — [packages/integration-tests/vitest.config.mts#L13-18](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/integration-tests/vitest.config.mts#L13-L18) [packages/integration-tests/tools/pack-packages.ts#L65-109](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/integration-tests/tools/pack-packages.ts#L65-L109) [packages/integration-tests/tools/pack-packages.ts#L154-163](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/integration-tests/tools/pack-packages.ts#L154-L163) [packages/integration-tests/tools/integration-test-base.ts#L24-85](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/integration-tests/tools/integration-test-base.ts#L24-L85)
- CI shards affected plugin tests on Linux with Node 18/24, runs a separate project-service mode, and aggregates required checks; Windows configuration skips rule suites, and the root Vitest project excludes website and website-eslint projects. — [.github/workflows/ci.yml#L350-391](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/.github/workflows/ci.yml#L350-L391) [.github/workflows/ci.yml#L453-502](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/.github/workflows/ci.yml#L453-L502) [packages/eslint-plugin/vitest.config.mts#L18-21](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/packages/eslint-plugin/vitest.config.mts#L18-L21) [vitest.config.mts#L28-34](https://github.com/typescript-eslint/typescript-eslint/blob/effa652828afba0aa730f106cb326c54a97ccfb5/vitest.config.mts#L28-L34)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
