From a57c67fbe1b826b1a7fe3b6833aa25161e1dbafb Mon Sep 17 00:00:00 2001 From: Jon <66625200+Kyro3400@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:15:58 -0500 Subject: [PATCH] Update records.test.js --- tests/records.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/records.test.js b/tests/records.test.js index 1c3a6387..cb18d9a5 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -267,17 +267,17 @@ t("All files should have valid record values", (t) => { } } - // TXT: string | string[] + // TXT: object | object[] if (key === "TXT") { if (Array.isArray(value)) { value.forEach((record) => { t.true( - typeof record === "string", - `${file}: Record value should be a string for ${key} at index ${value.indexOf(record)}` + typeof record === "object", + `${file}: Record value should be a object for ${key} at index ${value.indexOf(record)}` ); }); } else { - t.true(typeof value === "string", `${file}: Record value should be a string for ${key}`); + t.true(typeof value === "object", `${file}: Record value should be a object for ${key}`); } } });