@@ -109,6 +109,7 @@ describe("runs", () => {
109
109
setLocalConfigFileStub = sandbox . stub ( ) ;
110
110
setBrowsersStub = sandbox . stub ( ) ;
111
111
setConfigStub = sandbox . stub ( ) ;
112
+ setCLIModeStub = sandbox . stub ( ) ;
112
113
} ) ;
113
114
114
115
afterEach ( ( ) => {
@@ -147,7 +148,8 @@ describe("runs", () => {
147
148
setLocalConfigFile : setLocalConfigFileStub ,
148
149
setSystemEnvs : setSystemEnvsStub ,
149
150
setBrowsers : setBrowsersStub ,
150
- setConfig : setConfigStub
151
+ setConfig : setConfigStub ,
152
+ setCLIMode : setCLIModeStub
151
153
} ,
152
154
'../helpers/capabilityHelper' : {
153
155
validate : capabilityValidatorStub
@@ -181,6 +183,7 @@ describe("runs", () => {
181
183
sinon . assert . calledOnce ( setHeadedStub ) ;
182
184
sinon . assert . calledOnce ( setNoWrapStub ) ;
183
185
sinon . assert . calledOnce ( setConfigStub ) ;
186
+ sinon . assert . calledOnce ( setCLIModeStub ) ;
184
187
sinon . assert . calledOnce ( setOtherConfigsStub ) ;
185
188
sinon . assert . calledOnce ( capabilityValidatorStub ) ;
186
189
sinon . assert . calledOnce ( getErrorCodeFromMsgStub ) ;
@@ -235,6 +238,7 @@ describe("runs", () => {
235
238
setLocalConfigFileStub = sandbox . stub ( ) ;
236
239
setBrowsersStub = sandbox . stub ( ) ;
237
240
setConfigStub = sandbox . stub ( ) ;
241
+ setCLIModeStub = sandbox . stub ( ) ;
238
242
} ) ;
239
243
240
244
afterEach ( ( ) => {
@@ -274,7 +278,8 @@ describe("runs", () => {
274
278
setLocalConfigFile : setLocalConfigFileStub ,
275
279
setSystemEnvs : setSystemEnvsStub ,
276
280
setBrowsers : setBrowsersStub ,
277
- setConfig : setConfigStub
281
+ setConfig : setConfigStub ,
282
+ setCLIMode : setCLIModeStub
278
283
} ,
279
284
'../helpers/capabilityHelper' : {
280
285
validate : capabilityValidatorStub ,
@@ -316,6 +321,7 @@ describe("runs", () => {
316
321
sinon . assert . calledOnce ( setLocalIdentifierStub ) ;
317
322
sinon . assert . calledOnce ( setHeadedStub ) ;
318
323
sinon . assert . calledOnce ( setNoWrapStub ) ;
324
+ sinon . assert . calledOnce ( setCLIModeStub ) ;
319
325
sinon . assert . calledOnce ( setOtherConfigsStub ) ;
320
326
sinon . assert . calledOnce ( validateBstackJsonStub ) ;
321
327
sinon . assert . calledOnce ( capabilityValidatorStub ) ;
@@ -375,6 +381,7 @@ describe("runs", () => {
375
381
setLocalConfigFileStub = sandbox . stub ( ) ;
376
382
setConfigStub = sandbox . stub ( ) ;
377
383
setBrowsersStub = sandbox . stub ( ) ;
384
+ setCLIModeStub = sandbox . stub ( ) ;
378
385
} ) ;
379
386
380
387
afterEach ( ( ) => {
@@ -414,7 +421,8 @@ describe("runs", () => {
414
421
setDefaults : setDefaultsStub ,
415
422
setLocalConfigFile : setLocalConfigFileStub ,
416
423
setBrowsers : setBrowsersStub ,
417
- setConfig : setConfigStub
424
+ setConfig : setConfigStub ,
425
+ setCLIMode : setCLIModeStub
418
426
} ,
419
427
'../helpers/capabilityHelper' : {
420
428
validate : capabilityValidatorStub ,
@@ -456,6 +464,7 @@ describe("runs", () => {
456
464
sinon . assert . calledOnce ( setLocalIdentifierStub ) ;
457
465
sinon . assert . calledOnce ( setHeadedStub ) ;
458
466
sinon . assert . calledOnce ( setNoWrapStub ) ;
467
+ sinon . assert . calledOnce ( setCLIModeStub ) ;
459
468
sinon . assert . calledOnce ( setOtherConfigsStub ) ;
460
469
sinon . assert . calledOnce ( validateBstackJsonStub ) ;
461
470
sinon . assert . calledOnce ( capabilityValidatorStub ) ;
@@ -520,6 +529,7 @@ describe("runs", () => {
520
529
setLocalConfigFileStub = sandbox . stub ( ) ;
521
530
setConfigStub = sandbox . stub ( ) ;
522
531
setBrowsersStub = sandbox . stub ( ) ;
532
+ setCLIModeStub = sandbox . stub ( ) ;
523
533
} ) ;
524
534
525
535
afterEach ( ( ) => {
@@ -560,7 +570,8 @@ describe("runs", () => {
560
570
stopLocalBinary : stopLocalBinaryStub ,
561
571
setLocalConfigFile : setLocalConfigFileStub ,
562
572
setBrowsers : setBrowsersStub ,
563
- setConfig : setConfigStub
573
+ setConfig : setConfigStub ,
574
+ setCLIMode : setCLIModeStub
564
575
} ,
565
576
'../helpers/capabilityHelper' : {
566
577
validate : capabilityValidatorStub ,
@@ -612,6 +623,7 @@ describe("runs", () => {
612
623
sinon . assert . calledOnce ( setLocalIdentifierStub ) ;
613
624
sinon . assert . calledOnce ( setHeadedStub ) ;
614
625
sinon . assert . calledOnce ( setNoWrapStub ) ;
626
+ sinon . assert . calledOnce ( setCLIModeStub ) ;
615
627
sinon . assert . calledOnce ( setOtherConfigsStub ) ;
616
628
sinon . assert . calledOnce ( archiverStub ) ;
617
629
sinon . assert . calledOnce ( setUsageReportingFlagStub ) ;
@@ -686,6 +698,8 @@ describe("runs", () => {
686
698
setBrowsersStub = sandbox . stub ( ) ;
687
699
stopLocalBinaryStub = sandbox . stub ( ) ;
688
700
nonEmptyArrayStub = sandbox . stub ( ) ;
701
+ setCLIModeStub = sandbox . stub ( ) ;
702
+ setProcessHooksStub = sandbox . stub ( ) ;
689
703
} ) ;
690
704
691
705
afterEach ( ( ) => {
@@ -733,6 +747,8 @@ describe("runs", () => {
733
747
setConfig : setConfigStub ,
734
748
stopLocalBinary : stopLocalBinaryStub ,
735
749
nonEmptyArray : nonEmptyArrayStub ,
750
+ setCLIMode : setCLIModeStub ,
751
+ setProcessHooks : setProcessHooksStub
736
752
} ,
737
753
'../helpers/capabilityHelper' : {
738
754
validate : capabilityValidatorStub ,
@@ -795,6 +811,8 @@ describe("runs", () => {
795
811
sinon . assert . calledOnce ( setLocalIdentifierStub ) ;
796
812
sinon . assert . calledOnce ( setHeadedStub ) ;
797
813
sinon . assert . calledOnce ( setNoWrapStub ) ;
814
+ sinon . assert . calledOnce ( setCLIModeStub ) ;
815
+ sinon . assert . calledOnce ( setProcessHooksStub ) ;
798
816
sinon . assert . calledOnce ( setOtherConfigsStub ) ;
799
817
sinon . assert . calledOnce ( generateUniqueHashStub ) ;
800
818
sinon . assert . calledOnce ( archiverStub ) ;
0 commit comments