From ad4f600421f1c002fa878b0da753a8b82e67d25b Mon Sep 17 00:00:00 2001 From: Jon <66625200+Kyro3400@users.noreply.github.com> Date: Sat, 16 Nov 2024 15:39: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 cb18d9a5..1c3a6387 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: 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}`); } } });