mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-24 23:36:14 +00:00
Update domains.test.js
This commit is contained in:
@@ -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`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user