Blocks invalid record types

This commit is contained in:
Akshay Nair committed 2020-10-05 00:57:34 +05:30
1 parent 5c7612d568
commit 12010f3007
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ describe('validateDomainData', () => {
name,
})),
{ ...defaultDomain, record: { CNAME: 'sd', A: ['121,3213'] } },
//{ ...defaultDomain, record: { FOOBAR: ['sd'] } },
{ ...defaultDomain, record: { A: ['121', '12'], FOOBAR: ['sd'] } },
{ ...defaultDomain, owner: {}, },
{ ...defaultDomain, owner: { username: 'hwelo', }, },
{ ...defaultDomain, owner: { email: 'hwelo' }, },