@@ -16,7 +16,7 @@ describe('utils/helpers.ts', () => {
1616 'https://api.github.com/repos/ekonstantinidis/notifications-test/issues/3' ;
1717 const newUrl = generateGitHubWebUrl ( apiUrl ) ;
1818 expect ( newUrl ) . toBe (
19- 'https://www. github.com/ekonstantinidis/notifications-test/issues/3'
19+ 'https://github.com/ekonstantinidis/notifications-test/issues/3'
2020 ) ;
2121 } ) ;
2222
@@ -25,17 +25,15 @@ describe('utils/helpers.ts', () => {
2525 'https://api.github.com/repos/ekonstantinidis/notifications-test/pulls/123' ;
2626 const newUrl = generateGitHubWebUrl ( apiUrl ) ;
2727 expect ( newUrl ) . toBe (
28- 'https://www. github.com/ekonstantinidis/notifications-test/pull/123'
28+ 'https://github.com/ekonstantinidis/notifications-test/pull/123'
2929 ) ;
3030 } ) ;
3131
3232 it ( 'should generate the GitHub url - non enterprise - (release)' , ( ) => {
3333 const apiUrl =
3434 'https://api.github.com/repos/myorg/notifications-test/releases/3988077' ;
3535 const newUrl = generateGitHubWebUrl ( apiUrl ) ;
36- expect ( newUrl ) . toBe (
37- 'https://www.github.com/myorg/notifications-test/releases'
38- ) ;
36+ expect ( newUrl ) . toBe ( 'https://github.com/myorg/notifications-test/releases' ) ;
3937 } ) ;
4038
4139 it ( 'should generate the GitHub url - enterprise - (issue)' , ( ) => {
@@ -100,7 +98,7 @@ describe('utils/helpers.ts', () => {
10098 ( event , callback ) => {
10199 if ( event === 'will-redirect' ) {
102100 const event = new Event ( 'will-redirect' ) ;
103- callback ( event , 'http://www. github.com/?code=123-456' ) ;
101+ callback ( event , 'https://github.com/?code=123-456' ) ;
104102 }
105103 }
106104 ) ;
@@ -156,7 +154,7 @@ describe('utils/helpers.ts', () => {
156154 ( event , callback ) => {
157155 if ( event === 'did-fail-load' ) {
158156 const event = new Event ( 'did-fail-load' ) ;
159- callback ( event , 500 , null , 'http://www. github.com/?code=123-456' ) ;
157+ callback ( event , 500 , null , 'https://github.com/?code=123-456' ) ;
160158 }
161159 }
162160 ) ;
0 commit comments