fix(core): update
This commit is contained in:
12
test/test.ts
12
test/test.ts
@ -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();
|
||||
|
Reference in New Issue
Block a user