fix(core): update

This commit is contained in:
2022-02-17 00:18:23 +01:00
parent 695d047200
commit 95c3314400
9 changed files with 17 additions and 31 deletions

View File

@ -1,4 +1,4 @@
import {tap, expect, expectAsync} from '@pushrocks/tapbundle';
import { tap, expect, expectAsync } from '@pushrocks/tapbundle';
import * as smartnetwork from '../ts';
@ -7,10 +7,10 @@ let testSmartnetwork: smartnetwork.SmartNetwork;
tap.test('should create a vlid instance of SmartNetwork', async () => {
testSmartnetwork = new smartnetwork.SmartNetwork();
expect(testSmartnetwork).toBeInstanceOf(smartnetwork.SmartNetwork);
})
});
tap.test('should send a ping to Google', async () => {
expectAsync(testSmartnetwork.ping('https://lossless.com')).toBeTrue();
})
});
tap.start();