-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Polyfill Proxy in tests to throw errors for undefined chai property assertions #7895
Comments
Looks like the PR I mentioned has been merged in, but is slated for the 4.0.0 release. |
Waiting for 4.0 release |
Is this still something that needs to be done? |
Yes, it's something that would be nice to have and it's not on hold anymore but very low priority |
I've updated the labels on this issue! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cha now supports throwing errors on undefined properties chaijs/chai#721
IE writing
Will fail because the property should be
exist
However, it requires Proxies (available in Node 6). Until we can upgrade to Node 6, we should see if we can polyfill Proxy in tests to get this behavior.
The text was updated successfully, but these errors were encountered: