Some people might not want to have their assertions boxed inside proxies, perhaps due to performance considerations. Since proxies are already automatically disabled in environments that don't support proxies, it should be easy to also make it possible to manually disable them via a Chai config value.
This is a good opportunity for anyone wanting to contribute to Chai. New contributors encouraged. Post a comment here before starting so no one duplicates effort. Also please review the contributor guidelines before opening a PR. The team is happy to answer any questions.
Requirements:
useProxy is true, and aren't used when useProxy is false (see test/configuration.js)useProxy that defaults to true (see lib/chai/config.js)useProxy is set to true (see lib/chai/utils/proxify.js)useProxy is set to trueHello @meeber
I'm interested in solving this issue.
Thank you
Hey @vieiralucas - if you're interested in fixing this then please, go right ahead and make a PR. Put it up as soon as you want us to critique it and we can make sure it's what we want before merging 馃憤
Closed via https://github.com/chaijs/chai/pull/770
Most helpful comment
Hello @meeber
I'm interested in solving this issue.
Thank you