diff --git a/test/test.ts b/test/test.ts index cf6a960..a1f959f 100644 --- a/test/test.ts +++ b/test/test.ts @@ -15,7 +15,7 @@ tap.test('should perform a speedtest', async () => { }); tap.test('should determine wether a port is free', async () => { - await expect(testSmartNetwork.isLocalPortAvailable(8080)).to.eventually.be.true; + await expect(testSmartNetwork.isLocalPortUnused(8080)).to.eventually.be.true; }); tap.test('should scan a port', async () => {