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

mochajs / mocha / 5517
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v11.x
DEFAULT BRANCH: main
Ran 30 Jan 2019 06:10PM UTC
Jobs 1
Files 46
Run time 3991min
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

pending completion
5517

push

travis-ci

plroebuck
Fix regexp in utils.stackTraceFilter to prevent ReDoS #3416 (#3686)

When the stacktrace begins with a large `Error.message` (single or multi line), Mocha's stack prettifier method (enabled by default) takes a long time to finish due to its regular expression. Certain assertions (e.g., `contains`, `deeplyEqual`) against large objects can trigger this problem.
This PR alters the RegExp to skip over the error message portion of the stacktrace.

948 of 1145 branches covered (82.79%)

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

2453 of 2692 relevant lines covered (91.12%)

592.32 hits per line

Jobs
ID Job ID Ran Files Coverage
7 5517.7 02 Feb 2019 12:41PM UTC 0
91.12
Travis Job 5517.7
Source Files on build 5517
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5517
  • 1a43d8b1 on github
  • Prev Build on master (#5506)
  • Next Build on master (#5522)
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