listening on hard-coded ports in tests considered harmful
Opened this issue · 2 comments
Deleted user commented
I already have a service running on :8080. The test suite fails because it tries to listen on that port. Don't do that.
indexzero commented
Quick fix here. I've updated 8080
to 9090
. @substack how would you handle this? I could use node-portfinder
, but it seems like overkill.
Deleted user commented
My tests use random ports >10000 but portfinder sounds even better.