Skip to content

test: add coverage for EventBatcher emitFn validation

c41d752
Select commit
Loading
Failed to load commit list.
Merged

refactor: rename event throttling to batching for accuracy #43

test: add coverage for EventBatcher emitFn validation
c41d752
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Nov 3, 2025 in 0s

91.46% (-0.40%) compared to 371e092

View this Pull Request on Codecov

91.46% (-0.40%) compared to 371e092

Details

Codecov Report

❌ Patch coverage is 89.39394% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.46%. Comparing base (371e092) to head (c41d752).

Files with missing lines Patch % Lines
...rigger/PterodactylWebsocketTrigger.trigger.node.ts 80.00% 4 Missing ⚠️
shared/websocket/EventBatcher.ts 93.33% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
- Coverage   91.85%   91.46%   -0.40%     
==========================================
  Files          49       49              
  Lines        1056     1054       -2     
  Branches      171      166       -5     
==========================================
- Hits          970      964       -6     
- Misses         82       90       +8     
+ Partials        4        0       -4     

☔ 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.