When using a function on plugin.ts that requires a .zip file added to the form data, the form data stream won't close after the form data is used, and the test will take a bit of time to finish.
We need to investigate how to fix this.
Note:
- Does not happen on unit tests
- Only happens when form data has the
.zip file attached
- Only happens with POST requests (because the GET requests don't have the
.zip attached)
Potential solutions:
- Different method for attaching the
.zip file?
- Different method for executing requests?
- A way to close the stream after form data submission?
When using a function on
plugin.tsthat requires a.zipfile added to the form data, the form data stream won't close after the form data is used, and the test will take a bit of time to finish.We need to investigate how to fix this.
Note:
.zipfile attached.zipattached)Potential solutions:
.zipfile?