mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-16 00:15:06 +00:00
Adds cname record validation
This commit is contained in:
1 parent
0845948bda
commit
408b542ae7
2 files changed
+9
-5
No files matched your search
@@ -34,6 +34,8 @@ describe('validateDomainData', () => {
|
||||
{ ...defaultDomain, owner: {}, },
|
||||
{ ...defaultDomain, owner: { username: 'hwelo', }, },
|
||||
{ ...defaultDomain, owner: { email: 'hwelo' }, },
|
||||
{ ...defaultDomain, record: { CNAME: 'http://foobar.com' } },
|
||||
{ ...defaultDomain, record: { CNAME: 'https://foobar.com' } },
|
||||
];
|
||||
|
||||
const validCases = [
|
||||
|
||||
Reference in new issue
Block a user