mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-16 02:15:46 +00:00
feat: support dmarc records
This commit is contained in:
1 parent
f4da39045d
commit
1ea7db7b1e
3 files changed
+4
No files matched your search
@@ -66,6 +66,7 @@ describe('validateDomainData', () => {
|
||||
{ ...defaultDomain, name: '_discord' },
|
||||
{ ...defaultDomain, name: '_gitlab-pages-verification-code' },
|
||||
{ ...defaultDomain, name: '_acme-challenge' },
|
||||
{ ...defaultDomain, name: '_dmarc' },
|
||||
];
|
||||
|
||||
const validCases = [
|
||||
@@ -98,6 +99,7 @@ describe('validateDomainData', () => {
|
||||
{ ...defaultDomain, name: '_discord.subdomain' },
|
||||
{ ...defaultDomain, name: '_gitlab-pages-verification-code.subdomain' },
|
||||
{ ...defaultDomain, name: '_acme-challenge.subdomain' },
|
||||
{ ...defaultDomain, name: '_dmarc.subdomain' },
|
||||
];
|
||||
|
||||
it('should return false for invalid data', () => {
|
||||
|
||||
Reference in new issue
Block a user