Skip to content

Add try/catch blocks to handle async errors - #72

Open
hpcergar wants to merge 1 commit into
iammerrick:masterfrom
hpcergar:run-catch-errors
Open

Add try/catch blocks to handle async errors#72
hpcergar wants to merge 1 commit into
iammerrick:masterfrom
hpcergar:run-catch-errors

Conversation

@hpcergar

Copy link
Copy Markdown

Make the run() method handle errors and provide them to done() callback. I decided that this would be great since I was getting timeouts errors (done() callback wasn't being called) when I was running tests in browser or with mocha-phantomjs.

After this commit, errors were being displayed accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants