tntim96 / JSCover

JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage
GNU General Public License v2.0
399 stars 84 forks source link

Add utility to find a free port #324

Open tntim96 opened 1 year ago

Yasir761 commented 1 year ago

@tntim96 Can you please suggest some more information?

tntim96 commented 1 year ago

Sure @Yasir761 . Basically something like this: http://svn.apache.org/viewvc/camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/AvailablePortFinder.java?view=markup#l130

This is so wrapping code in our CI environment can ensure JSCover is running on an unused port. The method signature can be the same as in that sample I think.