From f3b6d4d1e796f079546d279b0d4873127b8322e0 Mon Sep 17 00:00:00 2001 From: Jon <66625200+Kyro3400@users.noreply.github.com> Date: Sun, 17 Nov 2024 16:00:24 -0500 Subject: [PATCH] Update json.test.js --- tests/json.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/json.test.js b/tests/json.test.js index bd59eb35..f1bd162c 100644 --- a/tests/json.test.js +++ b/tests/json.test.js @@ -70,7 +70,7 @@ t("All files should have valid file names", (t) => { t("All files should have the required fields", (t) => { const files = fs.readdirSync(domainsPath).filter(file => { const filePath = path.join(domainsPath, file); - return fs.lstatSync(filePath).isFile(); // Only include files + return fs.lstatSync(filePath).isFile(); // Ensure only files are included }); files.forEach((file) => { const data = fs.readJsonSync(path.join(domainsPath, file));