mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-05 10:13:34 +00:00
tests: improve vercel verification tests further
This commit is contained in:
1 parent
f3ef0fddf7
commit
968e04a73f
1 file changed
+10
@@ -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];
|
||||
|
||||
|
||||
Reference in new issue
Block a user