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

pmcelhaney / counterfact / 23769709284
86%
main: 87%

Build:
Build:
LAST BUILD BRANCH: copilot/fix-deprecated-unescape-function
DEFAULT BRANCH: main
Ran 30 Mar 2026 09:58PM UTC
Jobs 1
Files 53
Run time 1min
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

30 Mar 2026 09:57PM UTC coverage: 86.11% (+0.03%) from 86.085%
23769709284

push

github

pmcelhaney
refactor: introduce NormalizedPath branded type for path normalization

Replace ad-hoc .replaceAll("\\", "/") calls with a typed utility:

- Add `NormalizedPath` branded string type and `normalizePath()`
  function in `src/util/normalize-path.ts`
- `ModuleLoader.basePath` is now typed as `NormalizedPath`
- All 13 files that previously called .replaceAll("\\", "/") for
  path normalization now call `normalizePath()` instead

This makes the "path has been normalized" invariant compiler-enforced
in TypeScript code: functions that accept `NormalizedPath` will reject
a plain `string` without an explicit `normalizePath()` call.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1632 of 1835 branches covered (88.94%)

Branch coverage included in aggregate %.

77 of 80 new or added lines in 12 files covered. (96.25%)

5051 of 5926 relevant lines covered (85.23%)

63.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
59.09
0.95% src/server/page-middleware.ts
Jobs
ID Job ID Ran Files Coverage
1 23769709284.1 30 Mar 2026 09:58PM UTC 106
85.82
GitHub Action Run
Source Files on build 23769709284
  • Tree
  • List 53
  • Changed 47
  • Source Changed 11
  • Coverage Changed 47
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23769709284
  • fe1211e8 on github
  • Prev Build on main (#23765148834)
  • Next Build on normalize-path-branded-type (#23770053130)
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