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

mochajs / mocha / 13907350730 / 17
94%
main: 94%

Build:
DEFAULT BRANCH: main
Ran 17 Mar 2025 06:51PM UTC
Files 49
Run time 3s
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

17 Mar 2025 06:41PM UTC coverage: 48.104% (-0.04%) from 48.145%
13907350730.17

push

github

web-flow
feat: enable reporters to show relative paths of tests (#5292)

* DRAFT // Get test file path relative to config

Signed-off-by: Dinika Saxena <dinika@greyllama.cc>

* Use cwd for finding relative path of test fil

* Use relative path options in json and json-stream reporters

* Add integration test for relative paths in xunit reporter

Signed-off-by: Dinika Saxena <dinika@greyllama.cc>

* Make test more complete by checking for non existence

* Keep showing absolute paths in json reporters

* Add doc for showRelativePath xunit reporter option

Signed-off-by: Dinika Saxena <dinika@greyllama.cc>

* Move relative path calculation to the only reporter (xunit) that needs it

* Fix typo in xunit doc for showRelativePaths option

Signed-off-by: Dinika Saxena <dinika@greyllama.cc>

* Clarify why testing for absence of relative paths need quotes

* Copied new docs .md contents to docs-next .mdx

---------

Signed-off-by: Dinika Saxena <dinika@greyllama.cc>
Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>

392 of 1485 branches covered (26.4%)

1700 of 3534 relevant lines covered (48.1%)

5.46 hits per line

Source Files on job run-test-node:interfaces-20-ubuntu-latest- - 13907350730.17
  • Tree
  • List 49
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 13907350730
  • 81ea6667 on github
  • Prev Job for on main (#13906901663.29)
  • Next Job for on main (#13907558442.8)
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