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

mochajs / mocha / 18129146202

30 Sep 2025 12:01PM UTC coverage: 94.325% (+0.003%) from 94.322%
18129146202

push

github

web-flow
fix: use original require() error for TS files if ERR_UNKNOWN_FILE_EXTENSION (#5408)

* fix: use original require() error if ERR_UNKNOWN_FILE_EXTENSION

* Update lib/nodejs/esm-utils.js

Co-authored-by: Mark Wiemer <7833360+mark-wiemer@users.noreply.github.com>

* Add in comments

* test: add broken-syntax.ts fixture and test

* chore: reset a change to main

* test: slightly improve name

---------

Co-authored-by: Mark Wiemer <7833360+mark-wiemer@users.noreply.github.com>

1436 of 1620 branches covered (88.64%)

3690 of 3912 relevant lines covered (94.33%)

10421.54 hits per line

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

98.08
/lib/nodejs/esm-utils.js


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