Update tests/records.test.js

Co-authored-by: William Harrison <87287585+wdhdev@users.noreply.github.com>
This commit is contained in:
JonandWilliam Harrison authored and GitHub committed 2024-11-13 09:43:34 -05:00
1 parent 7afee5c330
commit c2be28e326
1 file changed
+1 -1
+1 -1
View File
@@ -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`);