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

mochajs / mocha / 7883
94%
main: 94%

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

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

Jobs
ID Job ID Ran Files Coverage
6 7883.6 (NODE_OPTIONS="--trace-warnings") 28 Jul 2020 11:03PM UTC 0
94.04
Travis Job 7883.6
Source Files on build 7883
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7883
  • f95d2a96 on github
  • Prev Build on boneskull/issue/4308-global-setup-teardown (#7879)
  • Next Build on boneskull/issue/4308-global-setup-teardown (#7885)
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