Update domains.test.js

This commit is contained in:
William Harrison
2025-04-04 12:21:03 +08:00
committed by GitHub
parent 86eedfd4ac
commit 710a476a52
+1 -4
View File
@@ -48,10 +48,7 @@ t("Nested subdomains should not exist if any parent subdomain has NS records", (
if (parent.startsWith("_") || !files.includes(`${parent}.json`)) continue;
const parentData = getDomainData(parent);
if (parentData.record.NS) {
t.fail(`${file}: Parent subdomain "${parent}" has NS records`);
return;
}
t.false(parentData.record.NS, `${file}: Parent subdomain "${parent}" has NS records`);
}
});
});