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

mochajs / mocha / 6235
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v11.x
DEFAULT BRANCH: main
Ran 26 Jun 2019 05:45PM UTC
Jobs 1
Files 48
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
6235

push

travis-ci

juergba
Collect test files later (#3953)

This commit prepares improvements to the watch mode behavior. In the future
we want Mocha in watch mode to pick up new test files. This requires
that the test files are collected inside `watchRun` instead of before.

To accomplish this change we rename `handleFiles` to `collectFiles` and
move it to its own module. Instead of calling `collectFiles` in
`lib/cli/run` and passing the files on to `watchRun` or `singleRun` we
pass down the file collection parameters through `runMocha` and call
`collectFiles` in both `watchRun` and `singleRun`.

1011 of 1191 branches covered (84.89%)

48 of 48 new or added lines in 4 files covered. (100.0%)

2694 of 2915 relevant lines covered (92.42%)

670.48 hits per line

Jobs
ID Job ID Ran Files Coverage
7 6235.7 26 Jun 2019 05:45PM UTC 0
92.42
Travis Job 6235.7
Source Files on build 6235
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6235
  • 15b96afc on github
  • Prev Build on master (#6224)
  • Next Build on master (#6237)
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