bitovi / documentjs

The sophisticated documentation engine
https://documentjs.com/
MIT License
598 stars 381 forks source link

Unit tests fail on Windows due to port-in-use #229

Closed rjgotten closed 6 years ago

rjgotten commented 8 years ago

For instance:

4) documentjs/lib/generate/generate works:
   Uncaught Error: listen EADDRINUSE :::8081

Unit tests are hard-coded to use the common 8081 port to which a webserver such as IIS may already be exclusively bound on Windows development machines.

You should use something like the findport package to locate an available port dynamically, instead.