From 2d62b0210c4e52fe856b59cf5623f24ede7722ce Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:24:18 +0800 Subject: [PATCH] fix --- tests/domains.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/domains.test.js b/tests/domains.test.js index d5a4b61480..43395fcda8 100644 --- a/tests/domains.test.js +++ b/tests/domains.test.js @@ -48,7 +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); - t.false(parentData.record.NS, `${file}: Parent subdomain "${parent}" has NS records`); + t.true(!parentData.record.NS, `${file}: Parent subdomain "${parent}" has NS records`); } }); });