-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[backend] Domain Name Creation Error (#9457) #9475
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #9475 +/- ##
==========================================
- Coverage 65.34% 65.33% -0.01%
==========================================
Files 624 624
Lines 59697 59697
Branches 6687 6686 -1
==========================================
- Hits 39011 39006 -5
- Misses 20686 20691 +5 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the 2 domain name from issue in the list of tested domain name ?
mvix.온라인.한국
mvix.xn--oi2b61z32a.xn--3e0b707e
in
it('should match a valid domain pattern', () => {
|
||
it('Domain-name regex parsing should be perfomant', async () => { | ||
const startDate = Date.now(); | ||
// eslint-disable-next-line no-plusplus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can eventually use i+=1
to avoid this eslint disable, but it's not a blocker for me.
}); | ||
|
||
it('should not match a valid domain pattern', () => { | ||
expect('invalid_domain.12_3').not.toMatch(domainChecker); | ||
expect('invalid_domain').not.toMatch(domainChecker); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need at least one '.' in the domain name ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Proposed changes
Related issues