support new github org records

This commit is contained in:
William Harrison committed 2024-04-15 12:28:24 +08:00
1 parent cb22c276c6
commit 31492ebc29
4 files changed
+17

No files matched your search

+4
View File
@@ -67,6 +67,7 @@ describe('validateDomainData', () => {
{ ...defaultDomain, name: '_gitlab-pages-verification-code' },
{ ...defaultDomain, name: '_acme-challenge' },
{ ...defaultDomain, name: '_dmarc' },
{ ...defaultDomain, name: '_gh-is-a-dev' },
];
const validCases = [
@@ -100,6 +101,9 @@ describe('validateDomainData', () => {
{ ...defaultDomain, name: '_gitlab-pages-verification-code.subdomain' },
{ ...defaultDomain, name: '_acme-challenge.subdomain' },
{ ...defaultDomain, name: '_dmarc.subdomain' },
{ ...defaultDomain, name: '_gh-phenax.akshay' },
{ ...defaultDomain, name: '_gh-hello01-ga' },
{ ...defaultDomain, name: '_gh-hello01_ga' },
];
it('should return false for invalid data', () => {