-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
nock does't work in bun #8781
Labels
Comments
Electroid
added
the
needs investigate
Needs to be investigated to find the root cause
label
Feb 8, 2024
In version 1.0.4, I got this error: #5006 Now in version 1.1.0, I get this error:
Probably related: #8368 |
I'm seeing the exact same error as above in v1.1.2. |
I just got the same error as well on v1.1.26 😬 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
What version of Bun is running?
1.0.26+c75e768a6
What platform is your computer?
No response
What steps can reproduce the bug?
What is the expected behavior?
The nock test suite passes, indicating that nock can be used in project test suites to check if they work in bun or not.
What do you see instead?
Additional information
It is impossible for modules that have existing test suite for the Node.js runtime to test and assert their module works in Bun if the test suite doesn't even run in Bun.
nock
is a very common library for mocking http responses for thenode:http
andnode:https
modules.The text was updated successfully, but these errors were encountered: