Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
tobi makes 500 error for later calls #77
I write mocha tests using tobi to test my express app. E.g. this is a part of my tests:
Where helper.browser is a tobi.createBrowser(8000, "localhost");
As you can see there is a tobi called commented out. This way all the tests pass. On the other hand if I delete the comments, the last test fails with 500 error. I've tried to investigate the issue, and could not find anything useful, as even my route callbacks are not called. As already said, I would like to test an express based app with mocha.
What can go wrong here?