• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 18737956268

23 Oct 2025 04:53AM UTC coverage: 80.281% (+0.004%) from 80.277%
18737956268

push

github

web-flow
TypeScript and TSX test support (#22756)

Resolves https://github.com/pantsbuild/pants/issues/22754. TypeScript
tests were not being recognized by the `pants test` goal because
TypeScriptTestSourceField did not inherit from JSTestRuntimeSourceField,
which is required by the JavaScript test runner's field set.

This change makes TypeScriptTestSourceField inherit from both
TypeScriptSourceField and JSTestRuntimeSourceField, following the same
pattern used by JSXTestSourceField.

This fix also enables TSX tests to work, as TSXTestSourceField inherits
from TypeScriptTestSourceField.

77877 of 97005 relevant lines covered (80.28%)

3.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

99.12
/src/python/pants/backend/javascript/goals/test_integration_test.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc