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

mochajs / mocha / 7356
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v11.x
DEFAULT BRANCH: main
Ran 07 May 2020 12:02AM UTC
Jobs 1
Files 54
Run time 7s
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
7356

push

travis-ci

boneskull
add WorkerPool wrapper, fix --grep

- created a wrapper around the `workerpool` module to help decouple and give us a place to do serialization before invoking the worker's `run` method
- do not warn about dubious max worker count (`jobs` option) since it's not something we can be sure is an actual problem (make it debug output instead)
- adds [serialize-javascript](https://npm.im/serialize-javascript) module
    - allows easier transmission of non-JSON-compatible objects over IPC, e.g., a `RegExp` (for `--grep`)
    - requires use of `eval()` to deserialize.  I'm not too worried about this, but I think I need to play with it more
    - this avoids more custom serialization code, but is not especially helpful when serializing `Test`, `Suite` and `Hook` instances
- in the integration test helper code, if we provide an _absolute path_, do not make a guess about where the fixture is when running `runMocha` or `runMochaJSON`. this makes globs easier to use

904 of 1310 branches covered (69.01%)

2731 of 3273 relevant lines covered (83.44%)

977.25 hits per line

Jobs
ID Job ID Ran Files Coverage
6 7356.6 07 May 2020 12:02AM UTC 0
83.44
Travis Job 7356.6
Source Files on build 7356
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7356
  • 331fca99 on github
  • Next Build on boneskull/issue/2839-parallel (#7371)
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