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

mochajs / mocha / 6234
92%
main: 94%

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

Pull #3953

travis-ci

web-flow
Collect test files later

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`.
Pull Request #3953: Collect test files later

1018 of 1191 branches covered (85.47%)

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

2696 of 2915 relevant lines covered (92.49%)

670.49 hits per line

Jobs
ID Job ID Ran Files Coverage
7 6234.7 26 Jun 2019 05:05PM UTC 0
92.49
Travis Job 6234.7
Source Files on build 6234
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6234
  • Pull Request #3953
  • PR Base - master (#6224)
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