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

philihp / pcg / 26259966992
100%

Build:
DEFAULT BRANCH: main
Ran 21 May 2026 11:52PM UTC
Jobs 1
Files 8
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

21 May 2026 11:52PM UTC coverage: 100.0% (+4.0%) from 96.018%
26259966992

push

github

web-flow
test: reach 100% coverage on every file (#348)

Two real changes drive this:

1. Add outputFns.coverage.test.ts covering output-function edges the
   canonical seed=42/stream=54 stream doesn't naturally hit — the
   RXS_M_XS sumLo > 0xffffffff carry, and the rot=0 path of XSH_RR.

2. Switch the package to "type": "module". Before this flip, esbuild
   wraps every module in CJS interop helpers (__export, __copyProps,
   __toCommonJS) and source-maps them onto arbitrary lines of the
   original .ts. Those helpers count as uncovered branches even though
   they are not in our code. ESM mode skips the wrapper, so the V8
   reporter only sees our own bytecode. This alone clears every
   phantom branch in every file.

Cascading config tweaks needed because of (2), not for coverage:

- Rename eslint.config.js -> eslint.config.cjs so its CommonJS body
  keeps loading under the new package type.
- tsconfig: set module=preserve + moduleResolution=bundler so DTS
  emission doesn't demand explicit .js extensions on every relative
  import.
- exports map: dist file extensions flip to match Node's convention
  under "type": "module" (.js is now the ESM entry, .cjs the CJS one).
  Smoke-tested with both require() and dynamic import() against the
  built dist.

Co-authored-by: Claude <noreply@anthropic.com>

100 of 100 branches covered (100.0%)

Branch coverage included in aggregate %.

470 of 470 relevant lines covered (100.0%)

7512.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26259966992.1 21 May 2026 11:52PM UTC 8
100.0
GitHub Action Run
Source Files on build 26259966992
  • Tree
  • List 8
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 0754738c on github
  • Prev Build on main (#26259007617)
  • Next Build on main (#26260685925)
  • Delete
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