-
-
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
Cannot console.log assertions because of proxies #765
Comments
Just wanna say btw, aside from this ticket, thank you for being an awesome chai maintainer! It really shows that you care and thats super important. You're my hero ❤️ |
IF CARTOON LEMURS COULD BLUSH |
Hello everyone, I'm back! Also, blacklisting values on the Chai config really seems more appropriate than hard-coding values. |
@lucasfcosta Welcome back sir. You've been missed. NOW GET TO WORK :D AND ABSOLUTELY NO MORE VACATIONS EVER (By the way, @keithamus @lucasfcosta, I'll be on vacation with limited connectivity Aug 18th - Sept 4th) |
I missed you too, especially your funny code reviews. |
Welcoming PRs on this. See #770 for inspiration on how to go about this type of change. What we're looking for is:
|
Consider:
In Chai v3.5, the output is:
But in the current version of Chai off Github, the output is:
Possible solution:
Add
inspect
as a blacklisted property here.then
already exists as a blacklisted property for promise support.inspect
is a standard property in Node, as noted in #727 (comment).Rather than hard-coding the blacklist, it might be more appropriate to refactor the blacklist to be a new Chai config value.
The text was updated successfully, but these errors were encountered: