fix(core): update
This commit is contained in:
@ -18,4 +18,9 @@ tap.test('should determine wether a port is free', async () => {
|
||||
await expect(testSmartNetwork.isLocalPortAvailable(8080)).to.eventually.be.true;
|
||||
});
|
||||
|
||||
tap.test('should scan a port', async () => {
|
||||
const portscanner = new smartnetwork.PortScanner();
|
||||
expect(portscanner.checkPortStatus('google.com:80')).to.eventually.be.true;
|
||||
});
|
||||
|
||||
tap.start();
|
||||
|
Reference in New Issue
Block a user