Skip to content

Commit

Permalink
[backend] add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahBocognano committed Nov 5, 2024
1 parent 496d740 commit baf58e8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ describe('Regex Pattern Tests', () => {
expect('test._mysubdomain.mydomain.com').toMatch(domainChecker);
expect('test_mysubdomain.domain.io').toMatch(domainChecker);
expect('invalid_domain.12_3').not.toMatch(domainChecker);
expect('invalid_domain').not.toMatch(domainChecker);
});

it('should match a valid hostname pattern', () => {
Expand Down

0 comments on commit baf58e8

Please sign in to comment.