Compare commits

...

2 Commits

Author SHA1 Message Date
b52bb4b474 2.0.14 2022-02-17 00:33:12 +01:00
42f5d66fc4 fix(core): update 2022-02-17 00:33:11 +01:00
3 changed files with 5 additions and 3 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartnetwork",
"version": "2.0.13",
"version": "2.0.14",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartnetwork",
"version": "2.0.13",
"version": "2.0.14",
"license": "MIT",
"dependencies": {
"@pushrocks/smartpromise": "^3.1.6",

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartnetwork",
"version": "2.0.13",
"version": "2.0.14",
"private": false,
"description": "network diagnostics",
"main": "dist_ts/index.js",

View File

@ -11,6 +11,8 @@ tap.test('should create a vlid instance of SmartNetwork', async () => {
tap.test('should send a ping to Google', async () => {
expectAsync(testSmartnetwork.ping('https://lossless.com')).toBeTrue();
expectAsync(testSmartnetwork.ping('https://notthere.lossless.com')).toBeTrue();
expectAsync(testSmartnetwork.ping('192.168.186.999')).toBeFalse();
});
tap.start();