require lowercase file names

This commit is contained in:
William Harrison committed 2024-11-09 20:42:50 +08:00
1 parent f4e60cab35
commit 1eedc437a6
4 files changed
+43 -9

No files matched your search

-2
View File
@@ -5,7 +5,6 @@ const path = require("path");
const domainsPath = path.resolve("domains");
const files = fs.readdirSync(domainsPath);
// Nested subdomains should not exist if the parent subdomain does not exist
t("Nested subdomains should not exist without a parent subdomain", (t) => {
files.forEach((file) => {
const subdomain = file.replace(".json", "");
@@ -23,7 +22,6 @@ t("Nested subdomains should not exist without a parent subdomain", (t) => {
t.pass();
});
// Nested subdomains should not exist if the parent subdomain has NS records
t("Nested subdomains should not exist if the parent subdomain has NS records", (t) => {
files.forEach((file) => {
const subdomain = file.replace(".json", "");