11import {
2- AppConfiguration ,
32 AppSchema ,
43 CurrentAppConfiguration ,
54 getAppScopes ,
@@ -574,14 +573,11 @@ describe('allExtensions', () => {
574573
575574 test ( 'keeps declarative webhook config when flag is enabled' , async ( ) => {
576575 const webhookExtensions = await testWebhookExtensions ( { complianceTopics : true } )
577- const app = testApp (
578- {
579- configuration : CORRECT_CURRENT_APP_SCHEMA ,
580- allExtensions : webhookExtensions ,
581- remoteFlags : [ ] ,
582- } ,
583- 'current' ,
584- )
576+ const app = testApp ( {
577+ configuration : CORRECT_CURRENT_APP_SCHEMA ,
578+ allExtensions : webhookExtensions ,
579+ remoteFlags : [ ] ,
580+ } )
585581
586582 const webhookConfig = app . allExtensions . find ( ( ext ) => ext . handle === 'webhooks' ) !
587583 . configuration as unknown as WebhookTestConfig
@@ -596,33 +592,27 @@ describe('allExtensions', () => {
596592
597593 test ( 'includes configuration extensions when include_config_on_deploy is enabled' , async ( ) => {
598594 const configExtension = await testAppAccessConfigExtension ( )
599- const app = testApp (
600- {
601- configuration : CORRECT_CURRENT_APP_SCHEMA ,
602- allExtensions : [ configExtension ] ,
603- } ,
604- 'current' ,
605- )
595+ const app = testApp ( {
596+ configuration : CORRECT_CURRENT_APP_SCHEMA ,
597+ allExtensions : [ configExtension ] ,
598+ } )
606599
607600 expect ( app . allExtensions ) . toContain ( configExtension )
608601 } )
609602
610603 test ( 'includes configuration extensions by default when include_config_on_deploy is undefined' , async ( ) => {
611604 const configExtension = await testAppAccessConfigExtension ( )
612- const app = testApp (
613- {
614- configuration : {
615- ...CORRECT_CURRENT_APP_SCHEMA ,
616- build : {
617- automatically_update_urls_on_dev : true ,
618- dev_store_url : 'https://google.com' ,
619- include_config_on_deploy : undefined ,
620- } ,
605+ const app = testApp ( {
606+ configuration : {
607+ ...CORRECT_CURRENT_APP_SCHEMA ,
608+ build : {
609+ automatically_update_urls_on_dev : true ,
610+ dev_store_url : 'https://google.com' ,
611+ include_config_on_deploy : undefined ,
621612 } ,
622- allExtensions : [ configExtension ] ,
623613 } ,
624- 'current' ,
625- )
614+ allExtensions : [ configExtension ] ,
615+ } )
626616
627617 expect ( app . allExtensions ) . toContain ( configExtension )
628618 } )
@@ -637,13 +627,10 @@ describe('allExtensions', () => {
637627 } ,
638628 }
639629 const configExtension = await testAppAccessConfigExtension ( )
640- const app = testApp (
641- {
642- configuration,
643- allExtensions : [ configExtension ] ,
644- } ,
645- 'current' ,
646- )
630+ const app = testApp ( {
631+ configuration,
632+ allExtensions : [ configExtension ] ,
633+ } )
647634
648635 expect ( app . allExtensions ) . toHaveLength ( 0 )
649636 } )
0 commit comments