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

counterfact / api-simulator / 24461603478
84%
main: 91%

Build:
Build:
LAST BUILD BRANCH: readme-explorable-prototype
DEFAULT BRANCH: main
Ran 15 Apr 2026 03:07PM UTC
Jobs 1
Files 91
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

15 Apr 2026 02:54PM UTC coverage: 84.255% (-3.2%) from 87.465%
24461603478

Pull #1874

github

web-flow
fix: resolve all TypeScript errors and ensure zero lint errors

- Add types:node to tsconfig.json so TypeScript recognises Node.js globals
  (process, Buffer, node:* module imports) — fixes pre-existing TS errors
  across the entire src/ tree
- Fix noUncheckedIndexedAccess issue in check-for-updates.ts: add default
  values when destructuring split().map(Number) arrays
- Fix Commander port option type: use parseArg overload (v => Number(v))
  instead of passing a number literal as default
- Fix PostHog shutdown call: use .flush() (the correct public API) instead
  of the non-existent .shutdownAsync()
- Fix start/startRepl used-before-assigned: wrap counterfact() call in an
  async IIFE so TypeScript sees process.exit(1) as never-returning"

Agent-Logs-Url: https://github.com/counterfact/api-simulator/sessions/18d8b4d7-c5d1-44a2-8bdf-b5c822cf8c15
Pull Request #1874: Move most of bin/counterfact.js into src/cli/ as TypeScript

2454 of 2861 branches covered (85.77%)

Branch coverage included in aggregate %.

137 of 634 new or added lines in 4 files covered. (21.61%)

8575 of 10229 relevant lines covered (83.83%)

122.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
418
0.0
src/cli/run.ts
56
0.0
src/cli/telemetry.ts
23
62.5
src/cli/check-for-updates.ts
Jobs
ID Job ID Ran Files Coverage
1 24461603478.1 15 Apr 2026 03:07PM UTC 182
84.14
GitHub Action Run
Source Files on build 24461603478
  • Tree
  • List 91
  • Changed 83
  • Source Changed 0
  • Coverage Changed 83
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24461603478
  • Pull Request #1874
  • PR Base - main (#24454368719)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc