In the past 3 months I've spent countless hours (and a good number of weekends) trying to figure out a way to better TDD node and JS, and finally I got it to work:
Btw, checkout how fast the tests run (note that I have about 1x second 'code+execution' time):
The code that is powering this is at https://github.com/o2platform/node-webkit-repl and the TM design+QA code is at https://github.com/TeamMentor/TM_4_0_Design/tree/Issue_80_Jade_Cleanup