Skip to content

test: cover multipart/form-data uploads end-to-end - #33

Open
joeykamsteeg wants to merge 1 commit into
developfrom
test/multipart-upload-coverage
Open

joeykamsteeg wants to merge 1 commit into
developfrom
test/multipart-upload-coverage

Conversation

@joeykamsteeg

Copy link
Copy Markdown
Member

Summary

  • Adds a real Bun.serve() server that parses the request via req.formData(), proving fetchify's FormData body support produces a genuine multipart/form-data request (correct boundary and part encoding) end-to-end, rather than only checking what's passed to a mocked fetch.

Test plan

  • bun test — 289 pass, 0 fail
  • bun run lint — clean

🤖 Generated with Claude Code

Adds a real Bun.serve() server that parses the request with
req.formData(), verifying fetchify produces a genuine multipart
request (correct boundary and part encoding) rather than only
checking what gets passed to a mocked fetch.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

test: Run #52

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Duration ⏱️
289 289 0 0 522ms

🎉 All tests passed!

Github Test Reporter by CTRF 💚

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.

1 participant