From c2be28e32621326161732dc477e36f8ac6349f64 Mon Sep 17 00:00:00 2001 From: Jon <66625200+Kyro3400@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:43:34 -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 0ceb75e2..ca41df7c 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -114,7 +114,7 @@ t("All files should not have duplicate record keys", (t) => { files.forEach((file) => { const data = fs.readJsonSync(path.join(domainsPath, file)); - const recordKeys = Object.keys(data.record); + const recordKeys = Object.keys(data.records); const uniqueRecordKeys = new Set(recordKeys); t.is(recordKeys.length, uniqueRecordKeys.size, `${file}: Duplicate record keys found`);