File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
packages/app/src/cli/services Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -576,7 +576,7 @@ describe('ensureDeployContext', () => {
576576 unsetAppConfigValueSpy . mockRestore ( )
577577 } )
578578
579- test ( 'sets didMigrateExtensionsToDevDash to true when app modules are missing registration UUIDs ' , async ( ) => {
579+ test ( 'sets didMigrateExtensionsToDevDash to true when app modules are missing registration IDs ' , async ( ) => {
580580 // Given
581581 const app = testAppWithConfig ( { config : { client_id : APP2 . apiKey } } )
582582 const identifiers = {
@@ -622,7 +622,7 @@ describe('ensureDeployContext', () => {
622622 expect ( result . didMigrateExtensionsToDevDash ) . toBe ( true )
623623 } )
624624
625- test ( 'sets didMigrateExtensionsToDevDash to false when all app modules have registration UUIDs ' , async ( ) => {
625+ test ( 'sets didMigrateExtensionsToDevDash to false when all app modules have registration IDs ' , async ( ) => {
626626 // Given
627627 const app = testAppWithConfig ( { config : { client_id : APP2 . apiKey } } )
628628 const identifiers = {
Original file line number Diff line number Diff line change @@ -168,8 +168,7 @@ export async function ensureDeployContext(options: DeployOptions): Promise<Ensur
168168 // if the current active app version is missing user_identifiers in some app module, then we are migrating to dev dash
169169 let didMigrateExtensionsToDevDash = false
170170 if ( developerPlatformClient . supportsAtomicDeployments && activeAppVersion ) {
171- const missingUids = activeAppVersion . appModuleVersions . some ( ( version ) => ! version . registrationId )
172- didMigrateExtensionsToDevDash = missingUids
171+ didMigrateExtensionsToDevDash = activeAppVersion . appModuleVersions . some ( ( version ) => ! version . registrationId )
173172 }
174173
175174 return { identifiers, didMigrateExtensionsToDevDash}
You can’t perform that action at this time.
0 commit comments