File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,15 @@ describe('orgListUtil tests', () => {
153153 expect ( determineConnectedStatusForNonScratchOrg . called ) . to . be . false ;
154154 } ) ;
155155
156+ it ( 'skipconnectionstatus with default' , async ( ) => {
157+ const orgs = await OrgListUtil . readLocallyValidatedMetaConfigsGroupedByOrgType ( fileNames ) ;
158+ expect ( orgs . nonScratchOrgs . every ( ( org ) => org . connectedStatus !== undefined ) ) . to . be . true ;
159+ expect ( orgs . other . every ( ( org ) => org . connectedStatus !== undefined ) ) . to . be . true ;
160+ expect ( orgs . sandboxes . every ( ( org ) => org . connectedStatus !== undefined ) ) . to . be . true ;
161+
162+ expect ( determineConnectedStatusForNonScratchOrg . called ) . to . be . true ;
163+ } ) ;
164+
156165 it ( 'should omit sensitive information and catergorise active and non-active scracth orgs' , async ( ) => {
157166 const orgs = await OrgListUtil . readLocallyValidatedMetaConfigsGroupedByOrgType ( fileNames , false ) ;
158167
You can’t perform that action at this time.
0 commit comments