File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
test/nut/commands/force/org Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 77
88import { join } from 'path' ;
99import * as querystring from 'querystring' ;
10- import { expect } from '@salesforce/command/lib/test ' ;
10+ import { expect , config } from 'chai ' ;
1111import { TestSession } from '@salesforce/cli-plugins-testkit' ;
1212import { execCmd } from '@salesforce/cli-plugins-testkit' ;
1313import { asDictionary , Dictionary , getString } from '@salesforce/ts-types' ;
1414
1515let hubOrgUsername : string ;
16+ config . truncateThreshold = 0 ;
1617
1718const verifyHumanResults = (
1819 lines : string [ ] ,
@@ -68,11 +69,7 @@ describe('Org Command NUT', () => {
6869 ] ,
6970 } ) ;
7071
71- const hubOrg = execCmd < [ { key : string ; value : string } ] > ( 'config:get defaultdevhubusername --json' , {
72- cli : 'sfdx' ,
73- ensureExitCode : 0 ,
74- } ) ;
75- hubOrgUsername = hubOrg . jsonOutput . result [ 0 ] . value ;
72+ hubOrgUsername = session . hubOrg . username ;
7673
7774 defaultUsername = session . orgs . get ( 'default' ) . username ;
7875 defaultUserOrgId = session . orgs . get ( 'default' ) . orgId ;
You can’t perform that action at this time.
0 commit comments