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

mochajs / mocha / 8440110493
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v11.x
DEFAULT BRANCH: main
Ran 26 Mar 2024 05:18PM UTC
Jobs 1
Files 56
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Mar 2024 05:12PM UTC coverage: 94.359%. Remained the same
8440110493

push

github

web-flow
fix: harden error handling in `lib/cli/run.js` (#5074)

* Bugfix: Output stacktrace to support typescript errors.

Before this patch the errorhandling would fail with the error: "ERROR: null". Debug showed that the error "caught error sometime before command handler: TypeError: Cannot convert object to primitive value"

* Update lib/cli/run.js

Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>

* Fix minor typo.

* Update lib/cli/run.js

Do not change the original functionality.

Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>

* Check that the toString method is available on the error.

* Opting for a simplified solution

* Fix tests

---------

Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>

1369 of 1554 branches covered (88.1%)

1 of 1 new or added line in 1 file covered. (100.0%)

3563 of 3776 relevant lines covered (94.36%)

1262.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8440110493.1 26 Mar 2024 05:18PM UTC 0
94.36
GitHub Action Run
Source Files on build 8440110493
Detailed source file information is not available for this build.
  • Back to Repo
  • 97dcbb28 on github
  • Prev Build on master (#8439930695)
  • Next Build on master (#8440192002)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc