mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-20 02:17:34 +00:00
remove mailto test
This commit is contained in:
1 parent
e338370219
commit
961a85dd08
2 files changed
+4
-5
No files matched your search
@@ -186,10 +186,10 @@ function validateRecordValues(t, data, file) {
|
||||
data.record.URL !== customRedirectURL,
|
||||
`${urlMessage} should be different from the URL record at index ${idx}`
|
||||
);
|
||||
// t.true(
|
||||
// customRedirectURL.startsWith("http://") || customRedirectURL.startsWith("https://"),
|
||||
// `${urlMessage} must start with http:// or https:// at index ${idx}`
|
||||
// );
|
||||
t.true(
|
||||
customRedirectURL.startsWith("http://") || customRedirectURL.startsWith("https://"),
|
||||
`${urlMessage} must start with http:// or https:// at index ${idx}`
|
||||
);
|
||||
t.notThrows(() => new URL(customRedirectURL), `${urlMessage} contains an invalid URL at index ${idx}`);
|
||||
|
||||
// Check for self-referencing redirects
|
||||
|
||||
Reference in new issue
Block a user