From e1ab75d00dc56e8ff5c031da0aa3d25f1cd846a0 Mon Sep 17 00:00:00 2001 From: Jon <66625200+Kyro3400@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:19:03 -0500 Subject: [PATCH] Update tests/proxy.test.js Co-authored-by: William Harrison <87287585+wdhdev@users.noreply.github.com> --- tests/proxy.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/proxy.test.js b/tests/proxy.test.js index 4c5bfa43..28895ad1 100644 --- a/tests/proxy.test.js +++ b/tests/proxy.test.js @@ -6,7 +6,7 @@ const requiredRecordsToProxy = ["A", "AAAA", "CNAME"]; function validateProxiedRecords(t, data, file) { if (data.proxied) { - const hasProxiedRecord = Object.keys(data.record).some((key) => requiredRecordsToProxy.includes(key)); + const hasProxiedRecord = Object.keys(data.records).some((key) => requiredRecordsToProxy.includes(key)); t.true(hasProxiedRecord, `${file}: Proxied is true but there are no records that can be proxied`); }