From 5e265033067c773fd33e61e880e04c2cd95e3def Mon Sep 17 00:00:00 2001 From: Jon <66625200+Kyro3400@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:20:19 -0500 Subject: [PATCH] Update tests/records.test.js Co-authored-by: William Harrison <87287585+wdhdev@users.noreply.github.com> --- 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 1758f9ec..d895fa0d 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -310,17 +310,17 @@ t("All files should have valid record values", (t) => { } } - // TXT: object | object[] + // TXT: string | string[] if (key === "TXT") { if (Array.isArray(value)) { value.forEach((record) => { t.true( - typeof record === "object", - `${file}: Record value should be a object for ${key} at index ${value.indexOf(record)}` + typeof record === "string", + `${file}: Record value should be a string for ${key} at index ${value.indexOf(record)}` ); }); } else { - t.true(typeof value === "object", `${file}: Record value should be a object for ${key}`); + t.true(typeof value === "string", `${file}: Record value should be a string for ${key}`); } } });