fix(core): update

This commit is contained in:
2023-07-28 07:31:59 +02:00
parent 461ec9d6b6
commit 429df4c0d1
10 changed files with 319 additions and 154 deletions

View File

@ -1,8 +1,16 @@
import { expect, expectAsync, tap } from '@push.rocks/tapbundle';
import * as abuseCh from '../ts/index.js';
tap.test('first test', async () => {
console.log(abuseCh);
tap.test('should deal with UrlHouse data', async () => {
const urlHouse = new abuseCh.UrlHouse();
const data = await urlHouse.getData();
console.log(data);
});
tap.test('should deal with UrlHouse data', async () => {
const threatFox = new abuseCh.ThreatFox();
const data = await threatFox.getData();
console.log(data);
});
tap.start();