fix(core): update

This commit is contained in:
2023-10-06 11:10:13 +02:00
parent b6d5f61f3c
commit 83a851a6aa
7 changed files with 2010 additions and 862 deletions

View File

@ -1,4 +1,4 @@
import { expect, expectAsync, tap } from '@pushrocks/tapbundle';
import { expect, expectAsync, tap } from '@push.rocks/tapbundle';
import * as smartwhois from '../ts/index.js';
let testSmartWhois: smartwhois.SmartWhois;
@ -9,8 +9,8 @@ tap.test('should create a valid instance of SmartWhois', async () => {
});
tap.test('should get a parsed url result for whois', async () => {
const parsedUrlResult = await testSmartWhois.getDomainDelegation('https://coffee.link/understanding-gen-z/');
console.log(parsedUrlResult);
const domainDelegation = await testSmartWhois.getDomainDelegation('https://coffee.link/understanding-gen-z/');
console.log(domainDelegation);
const parsedUrlResult2 = await testSmartWhois.getDomainDelegation('task.vc');
console.log(parsedUrlResult2);
});