Hi, thanks for your reply, i've modified my mocha test with this if:
if(err) done(err)
else done()
And now the error "Unhandled rejection null" not appears and the mocha test 
not exceeds the timeout.
Thanks for your time.
Best regards

Il giorno venerdì 18 dicembre 2015 18:02:45 UTC+1, Tim Davis ha scritto:
>
> If there is an error in your test, be sure to pass it to done(err) so that 
> the test doesn't time out.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/1209f549-2a39-4e7d-b9ae-ec3ee2eb5afb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to