Update Tests & Make TypeScript happy

This commit is contained in:
SukkaW
2024-10-02 21:33:59 +08:00
parent 9735d05956
commit d1041f0e59
7 changed files with 31 additions and 12 deletions

View File

@@ -7,8 +7,8 @@ import { bench, group, run } from 'mitata';
(async () => {
const data = await processLineFromReadline(await fetchRemoteTextByLine('https://osint.digitalside.it/Threat-Intel/lists/latestdomains.txt'));
group('sortDomains', () => {
bench('run', () => sortDomains(data));
group(() => {
bench('sortDomains', () => sortDomains(data));
});
run();