fix(core): update

This commit is contained in:
2023-04-03 17:50:55 +02:00
parent 6e8beac2dd
commit ecb009dedb
3 changed files with 16 additions and 2 deletions

View File

@ -13,4 +13,10 @@ tap.test('should get whois info for domain', async () => {
console.log(whoisInfo);
});
tap.test('should check for a valid tld', async () => {
const comIsValid = await testSmartWhois.isValidTld('.com');
console.log(comIsValid);
expect(comIsValid).toBeTrue();
})
tap.start();