feat(validation): adds support for org github verification

This commit is contained in:
Akshay Nair committed 2022-09-13 13:00:59 +05:30
1 parent acc15334ab
commit 779d258888
3 files changed
+7 -2

No files matched your search

+4
View File
@@ -59,6 +59,7 @@ describe('validateDomainData', () => {
{ ...defaultDomain, name: 'ww2.baa' },
{ ...defaultDomain, name: 'help.baa' },
{ ...defaultDomain, name: '_github-pages-challenge-is-a-dev' },
{ ...defaultDomain, name: '_github-challenge-is-a-dev' },
];
const validCases = [
@@ -82,6 +83,9 @@ describe('validateDomainData', () => {
{ ...defaultDomain, name: '_github-pages-challenge-phenax.akshay' },
{ ...defaultDomain, name: '_github-pages-challenge-hello01-ga' },
{ ...defaultDomain, name: '_github-pages-challenge-hello01_ga' },
{ ...defaultDomain, name: '_github-challenge-phenax.akshay' },
{ ...defaultDomain, name: '_github-challenge-hello01-ga' },
{ ...defaultDomain, name: '_github-challenge-hello01_ga' },
];
it('should return false for invalid data', () => {