@@ -302,7 +302,7 @@ describe('Sandbox Refresh', () => {
302302 expect ( sfCommandUxStubs . info . firstCall . args [ 0 ] ) . to . equal ( sbxStatusMsg ) ;
303303 } ) ;
304304
305- it . only ( 'should poll and report a success and write an auth file' , async ( ) => {
305+ it ( 'should poll and report a success and write an auth file' , async ( ) => {
306306 const sbxInfo = getSandboxInfo ( ) ;
307307 const sbxName = sbxInfo . SandboxName ;
308308 const sbxProcess = getSandboxProcess ( ) ;
@@ -350,8 +350,6 @@ describe('Sandbox Refresh', () => {
350350 // @ts -expect-error stubbing private function
351351 sinonSandbox . stub ( AuthInfo . prototype , 'getNamespacePrefix' ) . resolves ( ) ;
352352
353- const authInfoCreateSpy = sinonSandbox . spy ( AuthInfo , 'create' ) ;
354-
355353 const result : SandboxProcessObject = await RefreshSandbox . run ( [
356354 '--name' ,
357355 sbxName ,
@@ -371,16 +369,7 @@ describe('Sandbox Refresh', () => {
371369 expect ( toolingQueryStub . calledOnce , 'toolingQueryStub called' ) . to . be . true ;
372370 expect ( querySandboxProcessByIdStub . called , 'querySandboxProcessByIdStub called' ) . to . be . true ;
373371 expect ( sandboxSignupCompleteStub . called , 'sandboxSignupCompleteStub called' ) . to . be . true ;
374- // expect(authInfoExchangeTokenStub.called, 'authInfoExchangeTokenStub called').to.be.true;
375- // eslint-disable-next-line no-console
376- console . log ( authInfoCreateSpy . callCount ) ;
377- // eslint-disable-next-line no-console
378- console . dir ( authInfoCreateSpy . firstCall . args ) ;
379- // eslint-disable-next-line no-console
380- console . dir ( authInfoCreateSpy . secondCall . args ) ;
381- // eslint-disable-next-line no-console
382- console . dir ( authInfoCreateSpy . thirdCall . args ) ;
383- assert ( authInfoExchangeTokenStub ) ;
372+ expect ( authInfoExchangeTokenStub . called , 'authInfoExchangeTokenStub called' ) . to . be . true ;
384373
385374 // Check auth files exist
386375 const authFileContents = readAuthFile ( session . homeDir , sbxAuthResponse . authUserName ) ;
0 commit comments