fix(core): update

This commit is contained in:
2019-09-08 16:15:10 +02:00
parent 34bee225d5
commit 8d1b302e70
5 changed files with 26 additions and 4 deletions

View File

@ -24,9 +24,14 @@ tap.test('should scan a port', async () => {
// await expect(testSmartNetwork.isRemotePortAvailable('lossless.com:444')).to.eventually.be.false;
});
tap.test('should get the default gateways', async () => {
tap.test('should get gateways', async () => {
const gatewayResult = await testSmartNetwork.getGateways();
console.log(gatewayResult);
});
tap.test('should get the default gateway', async () => {
const gatewayResult = await testSmartNetwork.getDefaultGateway();
console.log(gatewayResult);
});
tap.start();