mirror of
https://github.com/tiennm99/open-domains.git
synced 2026-10-14 02:16:23 +00:00
Update tests/records.test.js
Co-authored-by: William Harrison <87287585+wdhdev@users.noreply.github.com>
This commit is contained in:
1 parent
548aba4d67
commit
7b0fdceac5
1 file changed
+1
-1
@@ -209,7 +209,7 @@ t("All files should have valid record values", (t) => {
|
||||
}
|
||||
|
||||
// *: {}[]
|
||||
if (["CAA", "DS", "SRV"].includes(key)) {
|
||||
if (["CAA", "SRV"].includes(key)) {
|
||||
t.true(Array.isArray(value), `${file}: Record value should be an array for ${key}`);
|
||||
|
||||
value.forEach((record) => {
|
||||
|
||||
Reference in new issue
Block a user