-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch upgrade from 2.4.1 to 2.4.4 breaks tests with TypeError: myFile?.slice(...).arrayBuffer is not a function
#2273
Comments
Hi everyone, I also have all tests broken but with a different error, adding here for simplicity but I'm OK to open a new issue if you want. I'm upgrading from 4.2.2 to 4.2.4 and I'm using Vitest as my test runner. Stacktrace: TypeError: unusable Thanks, |
We encounter the same issue as @ddolcimascolo after upgrading from 2.4.2 to 2.4.2 (we're also using Vitest). Edit: Fix versions, thanks @corneliusroemer :) |
@ddolcimascolo, this one looks related to mswjs/interceptors#630. |
I think you all mean 2.4.2 not 4.2.2 🙃 |
Indeed 😅 |
Seems to also break the Request type
The headers on the request object have changed from a Headers object where |
None of these errors look MSW related (at least directly). I highly recommend you check your Node.js versions because MSW in no shape or form influences how Request/Response/Headers function. |
Tested v2.4.3, no issue, the upgrade from v2.4.3 to v2.4.4 break the previous behaviour |
Using resolution to downgrade the transitive dependency on |
By bisecting I arrived at the same
|
Seeing the same issue as @ddolcimascolo on 2.4.4. Also using
Downgrading |
Prerequisites
Environment check
msw
versionNode.js version
22.8
Reproduction repository
loculus-project/loculus@c813cd9
Reproduction steps
Current behavior
Getting error:
Expected behavior
No error when doing patch update from 2.4.1 to 2.4.4
The text was updated successfully, but these errors were encountered: