fix(core): update
This commit is contained in:
@ -8,6 +8,11 @@ tap.test('should create an instance of Smartping', async () => {
|
||||
expect(testPing).toBeInstanceOf(smartping.Smartping);
|
||||
});
|
||||
|
||||
tap.test('should deliver a ping result', async () => {
|
||||
const result = await testPing.ping('lossless.com', 1000);
|
||||
console.log(result);
|
||||
})
|
||||
|
||||
tap.test('should detect alive', async () => {
|
||||
await expectAsync(testPing.pingAlive('lossless.com', 1000)).toBeTrue();
|
||||
})
|
||||
|
Reference in New Issue
Block a user