How to use the tcp-port-used.waitUntilFree function in tcp-port-used

To help you get started, we’ve selected a few tcp-port-used examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mozilla-b2g / fxos-device-service / test / setup.js View on Github external
suiteTeardown(async function() {
  service.stop();
  await tcpPortUsed.waitUntilFree(3000);
});

tcp-port-used

A simple Node.js module to check if a TCP port is already bound.

MIT
Latest version published 4 years ago

Package Health Score

70 / 100
Full package analysis