mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-11 03:13:35 +00:00
Merge pull request #51522 from is-a-dev/roman/vercel-txt-record-test
tests: improve vercel verification tests further
This commit is contained in:
1 file changed
+5
@@ -310,6 +310,11 @@ t("All files should have valid records", (t) => {
|
||||
`${file}: Files starting with '_vercel' must have format '_vercel.<name>.json'`
|
||||
);
|
||||
|
||||
t.true(
|
||||
recordKeys.includes("TXT") && recordKeys.length === 1,
|
||||
`${file}: Files starting with '_vercel' can only have TXT records`
|
||||
);
|
||||
|
||||
const txtRecords = data.records.TXT;
|
||||
const txtList = Array.isArray(txtRecords) ? txtRecords : [txtRecords];
|
||||
|
||||
|
||||
Reference in new issue
Block a user