From 7afee5c3302e1c6adc609758207cc167f44eb6ec Mon Sep 17 00:00:00 2001 From: Jon <66625200+Kyro3400@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:43:22 -0500 Subject: [PATCH] Update tests/records.test.js Co-authored-by: William Harrison <87287585+wdhdev@users.noreply.github.com> --- tests/records.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/records.test.js b/tests/records.test.js index 12f8be3e..0ceb75e2 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -89,7 +89,7 @@ function isPublicIPv6(ip) { t("All files should have valid record types", (t) => { files.forEach((file) => { const data = fs.readJsonSync(path.join(domainsPath, file)); - const recordKeys = Object.keys(data.record); + const recordKeys = Object.keys(data.records); recordKeys.forEach((key) => { t.true(validRecordTypes.includes(key), `${file}: Invalid record type: ${key}`);