import { tap, expect } from '@git.zone/tstest/tapbundle'; import * as abuseCh from '../ts/index.js'; tap.test('should deal with UrlHaus data', async () => { const urlHaus = new abuseCh.UrlHaus(); const data = await urlHaus.getData(); console.log(data.length); console.log(data[100]); }); tap.test('should deal with ThreatFox data', async () => { const threatFox = new abuseCh.ThreatFox(); const data = await threatFox.getData(); console.log(data.length); console.log(data[100]); }); tap.test('should deal with FeodoTracker data', async () => { const feodoTracker = new abuseCh.FeodoTracker(); const data = await feodoTracker.getData(); console.log(data.length); console.log(data[100]); }); export default tap.start();