Feat: update phishing domain threshold

This commit is contained in:
SukkaW
2024-05-19 03:58:00 +08:00
parent 6380d0be5a
commit b5a6e05a84
4 changed files with 95 additions and 63 deletions

View File

@@ -0,0 +1,10 @@
// eslint-disable-next-line import-x/no-unresolved -- bun
import { describe, expect, it } from 'bun:test';
import { calcDomainAbuseScore } from './get-phishing-domains';
describe('sortDomains', () => {
it('nmdj.pl', () => {
console.log(calcDomainAbuseScore('.01462ccca801fed55370d79231c876e5.nmdj.pl'));
});
});