I have a directory called MochaTests. Inside there I have the example test found on the mocha website "1.2.3 Mocha". At the command prompt (My OS is WIN7), I type in Mocha, and the result is 0 passing(2 m2)
. I installed just like the instructions say: npm install -g mocha
from what I can tell it installs just fine
So, in c:\MochaTests>
I type node
then I type .load test1.js
I get
ReferenceError: describe is not defined.
On the nodejs googlegroup there is a post dated 2012-12-24 that is titled "describe is not defined"... they claims this "solved my problems", but did not provide any details about what he did to clear up this error.