tests: add footer tests
This commit is contained in:
@@ -131,7 +131,6 @@ async function add(domain, data, auditSource) {
|
||||
if (domain.endsWith('.')) throw new BoxError(BoxError.BAD_FIELD, 'Invalid domain', { field: 'domain' });
|
||||
|
||||
if (zoneName) {
|
||||
console.log('THE ZONE', zoneName);
|
||||
if (!tld.isValid(zoneName)) throw new BoxError(BoxError.BAD_FIELD, 'Invalid zoneName', { field: 'zoneName' });
|
||||
if (zoneName.endsWith('.')) throw new BoxError(BoxError.BAD_FIELD, 'Invalid zoneName', { field: 'zoneName' });
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user