fix: do not call the next middleware when request is finished or errored #2156
Codecov / codecov/project
failed
Sep 4, 2025 in 0s
95.76% (-0.54%) compared to c26a326
View this Pull Request on Codecov
95.76% (-0.54%) compared to c26a326
Details
Codecov Report
❌ Patch coverage is 88.37209% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.76%. Comparing base (c26a326) to head (8c9d690).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/middleware.js | 79.16% | 5 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## master #2156 +/- ##
==========================================
- Coverage 96.30% 95.76% -0.54%
==========================================
Files 13 13
Lines 893 898 +5
Branches 266 270 +4
==========================================
Hits 860 860
- Misses 33 38 +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.
Loading