mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Add new phishing feed / speed up domains sort
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
import domainSorter from './stable-sort-domain';
|
||||
// eslint-disable-next-line import/no-unresolved -- fuck eslint-import
|
||||
import { describe, it, expect } from 'bun:test';
|
||||
|
||||
describe('stable-sort-domain', () => {
|
||||
it('.ks.cn, .tag.unclaimedproperty.ks.gov', () => {
|
||||
expect(domainSorter('.ks.cn', '.tag.unclaimedproperty.ks.gov')).toBe(-1);
|
||||
});
|
||||
|
||||
it('.fgnzdb.xyz, .hub.fghtem.com', () => {
|
||||
expect(domainSorter('.fgnzdb.xyz', '.hub.fghtem.com')).toBe(1);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user