fix(core): update

This commit is contained in:
2019-04-17 09:23:47 +02:00
parent b5eac3c54f
commit 43c8f63ce6
4 changed files with 3 additions and 129 deletions

View File

@ -19,8 +19,8 @@ tap.test('should determine wether a port is free', async () => {
});
tap.test('should scan a port', async () => {
const portscanner = new smartnetwork.PortScanner();
expect(portscanner.checkPortStatus('google.com:80')).to.eventually.be.true;
await expect(testSmartNetwork.isRemotePortAvailable('google.com:80')).to.eventually.be.true;
await expect(testSmartNetwork.isRemotePortAvailable('67.207.79.63:12346')).to.eventually.be.false;
});
tap.start();