mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 13:36:48 +00:00
a4bf815d24
These are the only two test files that call request.formData() inside an MSW handler, and they hold exactly the three tests that failed on CI while passing locally. The body axios' XHR adapter produces under jsdom is one Node 24's multipart parser rejects, so the handler threw before reading a field and the component reported a failed upload. Reading the raw payload asserts the same thing without depending on the parser.