Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
suiteTeardown(async function() { service.stop(); await tcpPortUsed.waitUntilFree(3000); });
A simple Node.js module to check if a TCP port is already bound.