diff --git a/tests/records.test.js b/tests/records.test.js index 6926a88f2..573e0604e 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -318,7 +318,8 @@ t("Root subdomains should have at least one usable record", (t) => { const usableRecordTypes = ["A", "AAAA", "CNAME", "MX", "NS", "URL"]; files.forEach((file) => { - if (file.replace(/\.json$/, "").includes(".")) return; + const subdomain = file.replace(/\.json$/, ""); + if (subdomain.includes(".") || subdomain.startsWith("_")) return; const data = getDomainData(file); const recordKeys = Object.keys(data.record);