Prefer TLD WHOIS over contradictory registrar referral; revert heuristic override and add referral test\n\n- Keep TLD response when registrar says ‘not found’\n- Revert WHOIS isRegistered to simple availability check\n- Add referral contradiction unit test for .io scenario\n- All tests passing

This commit is contained in:
2025-10-14 13:24:51 -04:00
parent c3a68639b6
commit 4e9b99a25f
3 changed files with 44 additions and 1 deletions
+2
View File
@@ -87,6 +87,8 @@ Registrar: Registrar LLC
expect(rec.expirationDate).toBe("2027-04-23T00:00:00Z");
});
// removed: availability override test in favor of referral-level logic
test("WHOIS .edu EDUCAUSE format", () => {
const text = `
This Registry database contains ONLY .EDU domains.