-
-
Notifications
You must be signed in to change notification settings - Fork 210
Description
I'm trying to simulate a file upload with progress feedback using MSW (to write frontend for an upcoming API), but am struggling to get the progress event to fire when using MSW.
I've tried a few different approaches and the MSW interception fires correctly, and I can read the sent file content correctly inside the handler and return a response, but nothing seems to trigger the progress event that I would expect.
Reading previous threads on this subject for MSW suggest that support should exist in 2.0+, so this may be a lack of understanding on my part, but I would appreciate some help as to whether this is a bug, an unsupported case or an issue with the implementation.
I have created an isolated reproduction using a vite site base and the axios library here; I have also tried pure XHR with similar lack of success.
Thanks