From 968e04a73f4d5f05d3f7e095bf34e77509f28ba0 Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 8 Sep 2026 19:10:30 +0100 Subject: [PATCH] tests: improve vercel verification tests further --- tests/records.test.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/records.test.js b/tests/records.test.js index 113f1c505d..ab9bb71afa 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -305,6 +305,16 @@ t("All files should have valid records", (t) => { `${file}: Files starting with '_vercel' must have format '_vercel..json'` ); + t.false( + recordKeys.includes("A"), + `${file}: Files starting with '_vercel' cannot have 'A' records` + ); + + t.false( + recordKeys.includes("CNAME"), + `${file}: Files starting with '_vercel' cannot have 'CNAME' records` + ); + const txtRecords = data.records.TXT; const txtList = Array.isArray(txtRecords) ? txtRecords : [txtRecords];