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

mochajs / mocha / 12587063931 / 3
94%
main: 94%

Build:
DEFAULT BRANCH: main
Ran 02 Jan 2025 06:43PM UTC
Files 49
Run time 21s
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

02 Jan 2025 06:34PM UTC coverage: 44.435%. Remained the same
12587063931.3

push

github

web-flow
refactor: replace `fs-extra` with newer `fs` built-ins (#5284)

* Replace fs-extra with newer fs built-ins

This updates the codebase to remove two uses of fs-extra by newer fs
built-in functions. The code changes are based on the implementation of
fs-extra@10.1.0, which is the version of fs-extra recorded in the
project's lockfile.

In particular, for `watch.spec.js`, the changes are based on:
https://github.com/jprichardson/node-fs-extra/blob/<a class=hub.com/mochajs/mocha/commit/0220eac966d7d6b9a595d69b1242ab8a397fba7f">0220eac96/lib/remove/index.js#L15

and, also for `helper.js`, the changes are based on:
https://github.com/jprichardson/node-fs-extra/blob/0220eac966d7d6b9a595d69b1242ab8a397fba7f/lib/mkdirs/make-dir.js#L23

* Drop 14 and 16 in mocha.yml

---------

Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>

338 of 1480 branches covered (22.84%)

1569 of 3531 relevant lines covered (44.44%)

2.57 hits per line

Source Files on job run-test-node:only-22.11.0-windows-latest- - 12587063931.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 12587063931
  • 75dcf8c6 on github
  • Prev Job for on main (#12578608318.58)
  • Next Job for on main (#12636633360.24)
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