Skip to content

test: expand unit test coverage for sim and xp modules - #23

Merged
Jhong098 merged 1 commit into
mainfrom
improve/test-coverage
May 4, 2026
Merged

test: expand unit test coverage for sim and xp modules#23
Jhong098 merged 1 commit into
mainfrom
improve/test-coverage

Conversation

@Jhong098

@Jhong098 Jhong098 commented May 4, 2026

Copy link
Copy Markdown
Owner

Add tests for previously-uncovered functions in chaos (activeEvents,
eventForNode, makeChaosEvent), sim components (unknown type, overloaded
database), graph (unrouted client node), traffic (sampleTraffic), and
xp (all tier bases, all level bands with progress clamping).

https://claude.ai/code/session_017P7S4SuivspHeeXfok7WzX

Add tests for previously-uncovered functions in chaos (activeEvents,
eventForNode, makeChaosEvent), sim components (unknown type, overloaded
database), graph (unrouted client node), traffic (sampleTraffic), and
xp (all tier bases, all level bands with progress clamping).

https://claude.ai/code/session_017P7S4SuivspHeeXfok7WzX
@vercel

vercel Bot commented May 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
poly-sd Ready Ready Preview, Comment May 4, 2026 0:23am

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.31%. Comparing base (ae4ed03) to head (3b53439).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   72.50%   79.31%   +6.81%     
==========================================
  Files          11       11              
  Lines         440      440              
  Branches      134      134              
==========================================
+ Hits          319      349      +30     
+ Misses         72       47      -25     
+ Partials       49       44       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Jhong098
Jhong098 merged commit 1a561db into main May 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants