@@ -33,7 +33,7 @@ describe( 'handleAuthDeeplink', () => {
3333 req : { get : mockWpcomGet } ,
3434 } as unknown as WPCOM ) ;
3535
36- const url = new URL ( 'wpcom-local-dev ://auth#access_token=mock-token&expires_in=3600' ) ;
36+ const url = new URL ( 'wp-studio ://auth#access_token=mock-token&expires_in=3600' ) ;
3737 await handleAuthDeeplink ( url ) ;
3838
3939 expect ( sendIpcEventToRenderer ) . toHaveBeenCalledWith ( 'auth-updated' , {
@@ -49,7 +49,7 @@ describe( 'handleAuthDeeplink', () => {
4949 } ) ;
5050
5151 it ( 'should handle authentication error from WordPress.com' , async ( ) => {
52- const url = new URL ( 'wpcom-local-dev ://auth#error=access_denied' ) ;
52+ const url = new URL ( 'wp-studio ://auth#error=access_denied' ) ;
5353 await handleAuthDeeplink ( url ) ;
5454
5555 expect ( sendIpcEventToRenderer ) . toHaveBeenCalledWith ( 'auth-updated' , {
@@ -59,7 +59,7 @@ describe( 'handleAuthDeeplink', () => {
5959 } ) ;
6060
6161 it ( 'should handle invalid token response' , async ( ) => {
62- const url = new URL ( 'wpcom-local-dev ://auth#access_token=mock-token&expires_in=invalid' ) ;
62+ const url = new URL ( 'wp-studio ://auth#access_token=mock-token&expires_in=invalid' ) ;
6363 await handleAuthDeeplink ( url ) ;
6464
6565 expect ( sendIpcEventToRenderer ) . toHaveBeenCalledWith ( 'auth-updated' , {
@@ -74,7 +74,7 @@ describe( 'handleAuthDeeplink', () => {
7474 req : { get : mockWpcomGet } ,
7575 } as unknown as WPCOM ) ;
7676
77- const url = new URL ( 'wpcom-local-dev ://auth#access_token=mock-token&expires_in=3600' ) ;
77+ const url = new URL ( 'wp-studio ://auth#access_token=mock-token&expires_in=3600' ) ;
7878 await handleAuthDeeplink ( url ) ;
7979
8080 expect ( sendIpcEventToRenderer ) . toHaveBeenCalledWith ( 'auth-updated' , {
0 commit comments