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

mochajs / mocha / 7377
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v11.x
DEFAULT BRANCH: main
Ran 11 May 2020 08:13PM UTC
Jobs 1
Files 49
Run time 8s
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
7377

push

travis-ci

web-flow
Add ability to run tests in a mocha instance multiple times (#4234); closes #2783

* Add ability to run tests in a mocha instance multiple times

* Rename `autoDispsoe` to `cleanReferencesAfterRun`,

Rename since we cannot dispose the entire mocha instance after a test run. We should keep the process.on('uncaughtException') handlers in place in order to not break existing functionality.

* Allow `unloadFiles` to reset `referencesCleaned`.

* Complete rename of _cleanReferencesAfterRun

* Add integration test for running a suite multiple times

* improve api docs

* Docs: fix dead link

* Make sure tests run on older node versions

* Remove `.only` 😅

* Implement `process.listenerCount` in the browser

* Implement mocha states in a finite state machine

* Fix some small remarks

* Make integration tests more damp

* Keep `Runner` api backward compatible

* Unload files when disposed

* Runnable.reset should also reset `err` and `state`

* Also reset hooks

Co-authored-by: Christopher Hiller <boneskull@boneskull.com>

1038 of 1206 branches covered (86.07%)

105 of 105 new or added lines in 7 files covered. (100.0%)

2813 of 3020 relevant lines covered (93.15%)

693.44 hits per line

Jobs
ID Job ID Ran Files Coverage
6 7377.6 11 May 2020 08:13PM UTC 0
93.15
Travis Job 7377.6
Source Files on build 7377
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7377
  • fbe3ce4f on github
  • Prev Build on master (#7355)
  • Next Build on master (#7384)
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