phillro/node-elasticsearch-client — pull request #33 by juzerali (2012-12-26 22:16:19+00:00)
Title: Beautiful tests using mocha, chai

Currently tests are very awkward and because they run asynchronously, some of them fail due to mutual dependence on completion of another test. [mocha](visionmedia/mocha) is very helpful in managing such dependencies and flow. Should is just for syntactic sugar.

Just `$ mocha test/elasticSearchClient/core.test.js`