From 85c4dd46cb07400ffd12f00bb869d06bf8181cad Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Wed, 23 Apr 2025 16:40:49 +0800 Subject: [PATCH] Update json.test.js --- tests/json.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/json.test.js b/tests/json.test.js index 1899c31c5..b27738d63 100644 --- a/tests/json.test.js +++ b/tests/json.test.js @@ -6,7 +6,7 @@ const ignoredRootJSONFiles = ["package-lock.json", "package.json"]; const requiredFields = { owner: "object", - record: "object" + records: "object" }; const optionalFields = { @@ -95,7 +95,6 @@ async function validateFileName(t, file) { t.false(file.includes(".is-a.dev"), `${file}: File name should not contain .is-a.dev`); t.true(file === file.toLowerCase(), `${file}: File name should be all lowercase`); t.false(file.includes("--"), `${file}: File name should not contain consecutive hyphens`); - t.false(file.startsWith("_redirect."), `${file}: File name should not start with _redirect`); const subdomain = file.replace(/\.json$/, "");