mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-14 12:16:50 +00:00
require lowercase file names
This commit is contained in:
1 parent
f4e60cab35
commit
1eedc437a6
4 files changed
+43
-9
No files matched your search
@@ -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", "");
|
||||
|
||||
Reference in new issue
Block a user