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

mochajs / mocha / 7891
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v11.x
DEFAULT BRANCH: main
Ran 29 Jul 2020 09:24PM UTC
Jobs 1
Files 55
Run time 52s
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
7891

push

travis-ci

boneskull
Ensure root level hooks are called when running in watch mode

## Rationale
Tests with root level hooks are ignored when running in watch mode.
This occurs on initial & subsequent runs.

## Changes

- updated `lib/cli/run-watch` to re-initialise rootHooks

As we have swapped out the root suite it is necessary to re-initialize
root level hooks again.

- Extended integration tests for watch to take into consideration
  hooks

## Refs

- mochajs/mocha/issues/4347

1229 of 1397 branches covered (87.97%)

3255 of 3463 relevant lines covered (93.99%)

898.98 hits per line

Jobs
ID Job ID Ran Files Coverage
6 7891.6 (NODE_OPTIONS="--trace-warnings") 29 Jul 2020 09:24PM UTC 0
93.99
Travis Job 7891.6
Source Files on build 7891
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7891
  • edc09bf1 on github
  • Prev Build on master (#7890)
  • Next Build on master (#7894)
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