Claes Gyllensvärd
unread,Jan 14, 2013, 2:28:33 PM1/14/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to moc...@googlegroups.com
Since Mocha is a tool for increased code-quality, it seemed to me like a natural thing to accompany my tests with using strict mode.
Most of my code was easy enough to fix for strictness, but it doesn't appear like mocha supports strict mode.
I added --use_strict to the list of supported pass-through node parameters, changed debug's use of 033 to \u0001b, and got stuck on Mocha for some reason failing to load the "dot reporter". This seemingly works well normally, and I'm not aware of anything in strict mode that would make it fail to require the file that is clearly in place, so I got stuck there.
Has anyone made attempts and/or had success running Mocha in strict mode?