@@ -21,6 +21,7 @@ describe("runs", () => {
2121
2222 beforeEach ( ( ) => {
2323 sandbox = sinon . createSandbox ( ) ;
24+ setDebugModeStub = sandbox . stub ( ) ;
2425 validateBstackJsonStub = sandbox . stub ( ) ;
2526 getConfigPathStub = sandbox . stub ( ) ;
2627 setUsageReportingFlagStub = sandbox . stub ( ) . returns ( undefined ) ;
@@ -50,7 +51,8 @@ describe("runs", () => {
5051 setUsageReportingFlag : setUsageReportingFlagStub ,
5152 getConfigPath : getConfigPathStub ,
5253 deleteResults : deleteResultsStub ,
53- readBsConfigJSON : readBsConfigJSONStub
54+ readBsConfigJSON : readBsConfigJSONStub ,
55+ setDebugMode : setDebugModeStub
5456 } ,
5557 } ) ;
5658
@@ -158,7 +160,8 @@ describe("runs", () => {
158160 setConfig : setConfigStub ,
159161 setCLIMode : setCLIModeStub ,
160162 setGeolocation : setGeolocationStub ,
161- setSpecTimeout : setSpecTimeoutStub
163+ setSpecTimeout : setSpecTimeoutStub ,
164+ setDebugMode : setDebugModeStub
162165 } ,
163166 '../helpers/capabilityHelper' : {
164167 validate : capabilityValidatorStub
@@ -302,7 +305,8 @@ describe("runs", () => {
302305 setCLIMode : setCLIModeStub ,
303306 setGeolocation : setGeolocationStub ,
304307 getVideoConfig : getVideoConfigStub ,
305- setSpecTimeout : setSpecTimeoutStub
308+ setSpecTimeout : setSpecTimeoutStub ,
309+ setDebugMode : setDebugModeStub
306310 } ,
307311 '../helpers/capabilityHelper' : {
308312 validate : capabilityValidatorStub ,
@@ -468,7 +472,8 @@ describe("runs", () => {
468472 fetchZipSize : fetchZipSizeStub ,
469473 setGeolocation : setGeolocationStub ,
470474 getVideoConfig : getVideoConfigStub ,
471- setSpecTimeout : setSpecTimeoutStub
475+ setSpecTimeout : setSpecTimeoutStub ,
476+ setDebugMode : setDebugModeStub
472477 } ,
473478 '../helpers/capabilityHelper' : {
474479 validate : capabilityValidatorStub ,
@@ -642,7 +647,8 @@ describe("runs", () => {
642647 fetchZipSize : fetchZipSizeStub ,
643648 setGeolocation : setGeolocationStub ,
644649 getVideoConfig : getVideoConfigStub ,
645- setSpecTimeout : setSpecTimeoutStub
650+ setSpecTimeout : setSpecTimeoutStub ,
651+ setDebugMode : setDebugModeStub
646652 } ,
647653 '../helpers/capabilityHelper' : {
648654 validate : capabilityValidatorStub ,
@@ -849,7 +855,8 @@ describe("runs", () => {
849855 fetchZipSize : fetchZipSizeStub ,
850856 setGeolocation : setGeolocationStub ,
851857 getVideoConfig : getVideoConfigStub ,
852- setSpecTimeout : setSpecTimeoutStub
858+ setSpecTimeout : setSpecTimeoutStub ,
859+ setDebugMode : setDebugModeStub
853860 } ,
854861 '../helpers/capabilityHelper' : {
855862 validate : capabilityValidatorStub ,
0 commit comments