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

mochajs / mocha / 7883 / 6
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v11.x
DEFAULT BRANCH: main
Ran 28 Jul 2020 11:03PM UTC
Files 55
Run time 12s
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

28 Jul 2020 10:50PM UTC coverage: 94.038% (+0.007%) from 94.031%
NODE_OPTIONS="--trace-warnings"

push

travis-ci

boneskull
add support for "ignored" plugins

when calling `handleRequires()`, it's helpful for the worker to _not_ load certain plugins.  if all are loaded, it would need to explicitly omit certain finalized plugins from the options sent to the `Mocha` constructor.  this adds an `ignoredPlugins` option to `handleRequires()`, which passes thru to the `PluginLoader` constructor.  it says "even though we have definitions for plugins _x_, _y_, and _z_, do not load them from `--require`'d modules".  this will save us some cycles since we now filter out those _up-front_ instead of after the fact.

- also add `unexpected-set` and `unexpected-map` for better assertions when working with `Set` and `Map` objects (these do not export globals)
- adds a custom
- refactor `PluginLoader` constructor (and `PluginLoader.create()`) to accept a single options object instead (of type `PluginLoaderOptions`)

1304 of 1483 branches covered (87.93%)

3391 of 3606 relevant lines covered (94.04%)

910.17 hits per line

Source Files on job 7883.6 (NODE_OPTIONS="--trace-warnings")
  • Tree
  • List 0
  • Changed 16
  • Source Changed 3
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 6906
  • Travis Job 7883.6
  • f95d2a96 on github
  • Prev Job for NODE_OPTIONS="--trace-warnings" on boneskull/issue/4308-global-setup-teardown (#7879.6)
  • Next Job for NODE_OPTIONS="--trace-warnings" on boneskull/issue/4308-global-setup-teardown (#7885.6)
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