Closed finferflu closed 6 years ago
Thanks for finding the issue and submitting the PR! This looks like the right solution, I added a few comments to tighten things up, but this looks like a great start!
Ah yes, I missed that server.close
is async, my bad!
As for your other comments, I've never really used Mocha or Sinon, and you can tell that my solution was a bit rudimental :)
Anyway, thanks for the feedback, and I'm glad my solution helped a little bit :)
Ok, I've had another go, please let me know if you have any more feedback for improving things. Thanks!
closes #25
Fixes issue #25. I’m not sure this is the most appropriate way to fix the issue, but it does the job!