@@ -36,7 +36,7 @@ describe( 'handleAddSiteWithBlueprint', () => {
3636
3737 const createBlueprintUrl = ( blueprintUrl : string ) => {
3838 const encodedUrl = encodeURIComponent ( blueprintUrl ) ;
39- return new URL ( `wpcom-local-dev ://add-site?blueprint_url=${ encodedUrl } ` ) ;
39+ return new URL ( `wp-studio ://add-site?blueprint_url=${ encodedUrl } ` ) ;
4040 } ;
4141
4242 beforeEach ( ( ) => {
@@ -74,7 +74,7 @@ describe( 'handleAddSiteWithBlueprint', () => {
7474 } ) ;
7575
7676 it ( 'should not send event if blueprint_url parameter is missing' , async ( ) => {
77- const url = new URL ( 'wpcom-local-dev ://add-site' ) ;
77+ const url = new URL ( 'wp-studio ://add-site' ) ;
7878
7979 await handleAddSiteWithBlueprint ( url ) ;
8080
@@ -85,7 +85,7 @@ describe( 'handleAddSiteWithBlueprint', () => {
8585 it ( 'should handle invalid blueprint_url gracefully' , async ( ) => {
8686 const invalidUrl = 'not-a-valid-url' ;
8787 const encodedUrl = encodeURIComponent ( invalidUrl ) ;
88- const url = new URL ( `wpcom-local-dev ://add-site?blueprint_url=${ encodedUrl } ` ) ;
88+ const url = new URL ( `wp-studio ://add-site?blueprint_url=${ encodedUrl } ` ) ;
8989
9090 await handleAddSiteWithBlueprint ( url ) ;
9191
@@ -172,7 +172,7 @@ describe( 'handleAddSiteWithBlueprint', () => {
172172 } ;
173173 const blueprintJson = JSON . stringify ( blueprintData ) ;
174174 const blueprintBase64 = Buffer . from ( blueprintJson ) . toString ( 'base64' ) ;
175- const url = new URL ( `wpcom-local-dev ://add-site?blueprint=${ blueprintBase64 } ` ) ;
175+ const url = new URL ( `wp-studio ://add-site?blueprint=${ blueprintBase64 } ` ) ;
176176
177177 await handleAddSiteWithBlueprint ( url ) ;
178178
@@ -183,7 +183,7 @@ describe( 'handleAddSiteWithBlueprint', () => {
183183 } ) ;
184184
185185 it ( 'should handle invalid base64-encoded blueprint and display error message' , async ( ) => {
186- const url = new URL ( 'wpcom-local-dev ://add-site?blueprint=invalid-base64!!!' ) ;
186+ const url = new URL ( 'wp-studio ://add-site?blueprint=invalid-base64!!!' ) ;
187187 await handleAddSiteWithBlueprint ( url ) ;
188188
189189 expect ( sendIpcEventToRenderer ) . not . toHaveBeenCalled ( ) ;
0 commit comments