tests: improve vercel verification tests further

This commit is contained in:
Roman committed 2026-09-08 19:19:39 +01:00
1 parent f3ef0fddf7
commit 968e04a73f
1 file changed
+10
+10
View File
@@ -305,6 +305,16 @@ t("All files should have valid records", (t) => {
`${file}: Files starting with '_vercel' must have format '_vercel.<name>.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];