when i run "mocha" to run all my tests i get this error:
var should = chai.should(); ^
TypeError: Property 'should' of object #<Object> is not a function
However when I run "mocha test/filename.js" on the file in question it runs fine. The chai.should() came from a question I asked previously.
latest node/npm/mocha/chai/should
What would cause such discrepancy in such between the different runs?
thanks