[nodejs] Bug with mocha + Step + node.js?

2012-07-10 Thread Thijs Vermeir
Hi, I think I run into a bug with mocha, step and node.js. I have this very little program that can be run with mocha and it passes the test and prints hello world. However it should fail because of the not existing function. When the function with the hello world print is commented, it fails li

Re: [nodejs] Bug with mocha + Step + node.js?

2012-07-11 Thread Tim Caswell
As I responded on github, step catches exceptions and routes them to the next step as an "err" argument. It's your responsibility to check this argument in all steps and handle it. On Tue, Jul 10, 2012 at 4:03 PM, Thijs Vermeir wrote: > Hi, > > I think I run into a bug with mocha, step and node.