4 Commits

Author SHA1 Message Date
5f1b4a784e 1.0.7 2022-10-21 14:24:36 +02:00
2da9122c68 fix(core): update 2022-10-21 14:24:36 +02:00
5d80323baa 1.0.6 2022-10-21 12:06:25 +02:00
72fccebf14 fix(core): update 2022-10-21 12:06:24 +02:00
5 changed files with 9 additions and 6 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartping",
"version": "1.0.5",
"version": "1.0.7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartping",
"version": "1.0.5",
"version": "1.0.7",
"license": "MIT",
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",

View File

@@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartping",
"version": "1.0.5",
"version": "1.0.7",
"private": false,
"description": "a ping utility",
"main": "dist_ts/index.js",

View File

@@ -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();
})

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartping',
version: '1.0.5',
version: '1.0.7',
description: 'a ping utility'
}

View File

@@ -1,3 +1 @@
import * as plugins from './smartping.plugins.js';
export * from './smartping.classes.smartping.js';