August 2012
3 posts
3 tags
Mocha 1.4.0
This is another relatively small release but still has some goodies! .only() By appending .only() Mocha will generate an internal .grep() call for you. This is very useful if you have a regression and a test-case fails. Instead of moving the test-case and associated code out in order to debug you can simply invoke it.only(title, callback) (for the BDD UI) and Mocha will ignore all others....
Aug 23rd
4 notes
4 tags
Aug 17th
9 notes
2 tags
Aug 10th
9 notes