Hello, all. I am working with should.js and there is one issue that i would like to see more opinions (https://github.com/shouldjs/should.js/pull/64). It is about replacing all getter assertions with function variants (aka .ok -> .ok() ). Purpose of this to remove false positive results when you mistype getter name, which is greatly handled with linters now (unused expressions etc). By idea there could help es6 proxy, but it is still bad supported. This was one time resolved by chaijs, but i do not like their solution. IIRC they return as a result of getter some noop function which contains all fields of assertions.
Thanks. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/db7ad6c5-0bb3-4367-89ae-7d73a156203b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
