-
-
Notifications
You must be signed in to change notification settings - Fork 698
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
assert.throws() does not work correctly in node/vm spawned context #1604
Comments
what are you expecting to happen? the if you can give a little more info, might be able to help |
I got assertion failures with node 18/20/21. (on
Here it doesn't look correct: |
ah i get you! i was missing the error matcher in my local test you are correct. we should instead do |
yup we can close this! 🥳 fixed by #1609 |
(chai 5.1.0 from npm, node 18.14.0, v8 10.2.154.23-node.22)
It seems that assert.throws() does not work correctly in vm spawned context.
Default context assert.throws() work as expected, but vm context assert.throws() asserts where it should pass.
The text was updated successfully, but these errors were encountered: