Skip to content

fix: preserve fetch multipart body on MockAgent fallback#5269

Open
mcollina wants to merge 1 commit intomainfrom
fix-5241-mockagent-multipart-boundary
Open

fix: preserve fetch multipart body on MockAgent fallback#5269
mcollina wants to merge 1 commit intomainfrom
fix-5241-mockagent-multipart-boundary

Conversation

@mcollina
Copy link
Copy Markdown
Member

@mcollina mcollina commented May 7, 2026

Summary

Testing

  • npx borp -p "test/fetch/issue-5241.js"
  • npx borp -p "test/mock-agent.js"
  • npm run lint -- lib/web/fetch/index.js lib/mock/mock-utils.js test/fetch/issue-5241.js

Fixes #5241

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.27%. Comparing base (e58fff7) to head (07f4094).
⚠️ Report is 20 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5269   +/-   ##
=======================================
  Coverage   93.27%   93.27%           
=======================================
  Files         110      110           
  Lines       36353    36384   +31     
=======================================
+ Hits        33909    33938   +29     
- Misses       2444     2446    +2     

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

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.

Incorrect multipart/form-data boundary in header/body with MockAgent

2 participants