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

counterfact / api-simulator / 26377720812

25 May 2026 12:54AM UTC coverage: 90.901% (+0.3%) from 90.616%
26377720812

Pull #2119

github

web-flow
refactor: address code review feedback on chaos API

- Improve CHAOS_TIMEOUT_DELAY_MS comment explaining Node.js 32-bit int constraint
- Replace `any` body type in ChaosRule.tryApply with `unknown` + explicit cast
- Extract PROBABILITY_TEST_ITERATIONS constant in test file

Agent-Logs-Url: https://github.com/counterfact/api-simulator/sessions/1b9bc7aa-b2e1-4090-9a24-b1165b72d855
Pull Request #2119: feat: add chaos() API for HTTP-layer fault injection

3348 of 3776 branches covered (88.67%)

Branch coverage included in aggregate %.

400 of 401 new or added lines in 5 files covered. (99.75%)

15 existing lines in 2 files now uncovered.

11298 of 12336 relevant lines covered (91.59%)

190.1 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

89.69
/src/api-runner.ts


Source Not Available

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