mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Update Tests & Make TypeScript happy
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user