-
-
Notifications
You must be signed in to change notification settings - Fork 508
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
Support Bun runtime #1718
Comments
I'm closing this because MSW functions without issues in Node.js. If there are any issues in Bun, those are likely Bun issues with Node.js compatibility. I highly recommend you file those in Bun's repo to make the team aware. If you find something MSW-specific, feel free to update this thread. |
Regarding your response above. It can be hard to draw a line between who should support what. Bun is not 100% compatible with NodeJs and maybe it shouldn't be. In both cases it would be great to have Anyway, just wanted to share with you another error.
bun - 1.0.26 |
@VinceMalone, I can say with rather solid confidence that MSW will not ship anything specific to Bun. If you want to use MSW in Bun, you have to ensure Bun provides sufficient compatibility with Node.js (the Regarding the error, looks like a bug in Bun. The |
Prerequisites
Environment check
msw
versionNode.js version
v18.15.0
Reproduction repository
OleksandrKucherenko/chatgpt-translate-md#8
Reproduction steps
curl -fsSL https://bun.sh/install | bash
(details: https://bun.sh/)bun install
bun test
Refs:
bun test
oven-sh/bun#1825Notes:
For switching between TS-NODE JEST and BUN you will need to changes lines:
this is YARN 3.xx monorepo with multiple packages, that I try to make compatible with BUN 0.8.1
Current behaviour
BUN produce this error
Expected behavior
YARN+TS-NONE - produce this error
The text was updated successfully, but these errors were encountered: