Skip to content

Commit 6382b53

Browse files
author
Dre Grant
committed
fix: simplify deep subdomain test case formatting
1 parent d99728e commit 6382b53

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/curated-corpus/helpers/domainHelpers.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ describe('extractDomainInfo', () => {
3838
});
3939

4040
it('should handle deep subdomains', () => {
41-
const result = extractDomainInfo(
42-
'https://blog.tech.example.com/article',
43-
);
41+
const result = extractDomainInfo('https://blog.tech.example.com/article');
4442
expect(result).toEqual({
4543
hostname: 'blog.tech.example.com',
4644
subdomain: 'blog.tech.example.com',

0 commit comments

Comments
 (0)