From 710a476a52ccaabc9b9f2e22bf112ea7dd0ed238 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:21:03 +0800 Subject: [PATCH] Update domains.test.js --- tests/domains.test.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/domains.test.js b/tests/domains.test.js index 12ee7089c..d5a4b6148 100644 --- a/tests/domains.test.js +++ b/tests/domains.test.js @@ -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`); } }); });