@@ -109,6 +109,7 @@ describe("runs", () => {
109109 setLocalConfigFileStub = sandbox . stub ( ) ;
110110 setBrowsersStub = sandbox . stub ( ) ;
111111 setConfigStub = sandbox . stub ( ) ;
112+ setCLIModeStub = sandbox . stub ( ) ;
112113 } ) ;
113114
114115 afterEach ( ( ) => {
@@ -147,7 +148,8 @@ describe("runs", () => {
147148 setLocalConfigFile : setLocalConfigFileStub ,
148149 setSystemEnvs : setSystemEnvsStub ,
149150 setBrowsers : setBrowsersStub ,
150- setConfig : setConfigStub
151+ setConfig : setConfigStub ,
152+ setCLIMode : setCLIModeStub
151153 } ,
152154 '../helpers/capabilityHelper' : {
153155 validate : capabilityValidatorStub
@@ -181,6 +183,7 @@ describe("runs", () => {
181183 sinon . assert . calledOnce ( setHeadedStub ) ;
182184 sinon . assert . calledOnce ( setNoWrapStub ) ;
183185 sinon . assert . calledOnce ( setConfigStub ) ;
186+ sinon . assert . calledOnce ( setCLIModeStub ) ;
184187 sinon . assert . calledOnce ( setOtherConfigsStub ) ;
185188 sinon . assert . calledOnce ( capabilityValidatorStub ) ;
186189 sinon . assert . calledOnce ( getErrorCodeFromMsgStub ) ;
@@ -235,6 +238,7 @@ describe("runs", () => {
235238 setLocalConfigFileStub = sandbox . stub ( ) ;
236239 setBrowsersStub = sandbox . stub ( ) ;
237240 setConfigStub = sandbox . stub ( ) ;
241+ setCLIModeStub = sandbox . stub ( ) ;
238242 } ) ;
239243
240244 afterEach ( ( ) => {
@@ -274,7 +278,8 @@ describe("runs", () => {
274278 setLocalConfigFile : setLocalConfigFileStub ,
275279 setSystemEnvs : setSystemEnvsStub ,
276280 setBrowsers : setBrowsersStub ,
277- setConfig : setConfigStub
281+ setConfig : setConfigStub ,
282+ setCLIMode : setCLIModeStub
278283 } ,
279284 '../helpers/capabilityHelper' : {
280285 validate : capabilityValidatorStub ,
@@ -316,6 +321,7 @@ describe("runs", () => {
316321 sinon . assert . calledOnce ( setLocalIdentifierStub ) ;
317322 sinon . assert . calledOnce ( setHeadedStub ) ;
318323 sinon . assert . calledOnce ( setNoWrapStub ) ;
324+ sinon . assert . calledOnce ( setCLIModeStub ) ;
319325 sinon . assert . calledOnce ( setOtherConfigsStub ) ;
320326 sinon . assert . calledOnce ( validateBstackJsonStub ) ;
321327 sinon . assert . calledOnce ( capabilityValidatorStub ) ;
@@ -375,6 +381,7 @@ describe("runs", () => {
375381 setLocalConfigFileStub = sandbox . stub ( ) ;
376382 setConfigStub = sandbox . stub ( ) ;
377383 setBrowsersStub = sandbox . stub ( ) ;
384+ setCLIModeStub = sandbox . stub ( ) ;
378385 } ) ;
379386
380387 afterEach ( ( ) => {
@@ -414,7 +421,8 @@ describe("runs", () => {
414421 setDefaults : setDefaultsStub ,
415422 setLocalConfigFile : setLocalConfigFileStub ,
416423 setBrowsers : setBrowsersStub ,
417- setConfig : setConfigStub
424+ setConfig : setConfigStub ,
425+ setCLIMode : setCLIModeStub
418426 } ,
419427 '../helpers/capabilityHelper' : {
420428 validate : capabilityValidatorStub ,
@@ -456,6 +464,7 @@ describe("runs", () => {
456464 sinon . assert . calledOnce ( setLocalIdentifierStub ) ;
457465 sinon . assert . calledOnce ( setHeadedStub ) ;
458466 sinon . assert . calledOnce ( setNoWrapStub ) ;
467+ sinon . assert . calledOnce ( setCLIModeStub ) ;
459468 sinon . assert . calledOnce ( setOtherConfigsStub ) ;
460469 sinon . assert . calledOnce ( validateBstackJsonStub ) ;
461470 sinon . assert . calledOnce ( capabilityValidatorStub ) ;
@@ -520,6 +529,7 @@ describe("runs", () => {
520529 setLocalConfigFileStub = sandbox . stub ( ) ;
521530 setConfigStub = sandbox . stub ( ) ;
522531 setBrowsersStub = sandbox . stub ( ) ;
532+ setCLIModeStub = sandbox . stub ( ) ;
523533 } ) ;
524534
525535 afterEach ( ( ) => {
@@ -560,7 +570,8 @@ describe("runs", () => {
560570 stopLocalBinary : stopLocalBinaryStub ,
561571 setLocalConfigFile : setLocalConfigFileStub ,
562572 setBrowsers : setBrowsersStub ,
563- setConfig : setConfigStub
573+ setConfig : setConfigStub ,
574+ setCLIMode : setCLIModeStub
564575 } ,
565576 '../helpers/capabilityHelper' : {
566577 validate : capabilityValidatorStub ,
@@ -612,6 +623,7 @@ describe("runs", () => {
612623 sinon . assert . calledOnce ( setLocalIdentifierStub ) ;
613624 sinon . assert . calledOnce ( setHeadedStub ) ;
614625 sinon . assert . calledOnce ( setNoWrapStub ) ;
626+ sinon . assert . calledOnce ( setCLIModeStub ) ;
615627 sinon . assert . calledOnce ( setOtherConfigsStub ) ;
616628 sinon . assert . calledOnce ( archiverStub ) ;
617629 sinon . assert . calledOnce ( setUsageReportingFlagStub ) ;
@@ -686,6 +698,8 @@ describe("runs", () => {
686698 setBrowsersStub = sandbox . stub ( ) ;
687699 stopLocalBinaryStub = sandbox . stub ( ) ;
688700 nonEmptyArrayStub = sandbox . stub ( ) ;
701+ setCLIModeStub = sandbox . stub ( ) ;
702+ setProcessHooksStub = sandbox . stub ( ) ;
689703 } ) ;
690704
691705 afterEach ( ( ) => {
@@ -733,6 +747,8 @@ describe("runs", () => {
733747 setConfig : setConfigStub ,
734748 stopLocalBinary : stopLocalBinaryStub ,
735749 nonEmptyArray : nonEmptyArrayStub ,
750+ setCLIMode : setCLIModeStub ,
751+ setProcessHooks : setProcessHooksStub
736752 } ,
737753 '../helpers/capabilityHelper' : {
738754 validate : capabilityValidatorStub ,
@@ -795,6 +811,8 @@ describe("runs", () => {
795811 sinon . assert . calledOnce ( setLocalIdentifierStub ) ;
796812 sinon . assert . calledOnce ( setHeadedStub ) ;
797813 sinon . assert . calledOnce ( setNoWrapStub ) ;
814+ sinon . assert . calledOnce ( setCLIModeStub ) ;
815+ sinon . assert . calledOnce ( setProcessHooksStub ) ;
798816 sinon . assert . calledOnce ( setOtherConfigsStub ) ;
799817 sinon . assert . calledOnce ( generateUniqueHashStub ) ;
800818 sinon . assert . calledOnce ( archiverStub ) ;
0 commit comments