@@ -116,6 +116,7 @@ describe("runs", () => {
116
116
setConfigStub = sandbox . stub ( ) ;
117
117
setCLIModeStub = sandbox . stub ( ) ;
118
118
setGeolocationStub = sandbox . stub ( ) ;
119
+ setSpecTimeoutStub = sandbox . stub ( ) . returns ( undefined ) ;
119
120
} ) ;
120
121
121
122
afterEach ( ( ) => {
@@ -156,7 +157,8 @@ describe("runs", () => {
156
157
setBrowsers : setBrowsersStub ,
157
158
setConfig : setConfigStub ,
158
159
setCLIMode : setCLIModeStub ,
159
- setGeolocation : setGeolocationStub
160
+ setGeolocation : setGeolocationStub ,
161
+ setSpecTimeout : setSpecTimeoutStub
160
162
} ,
161
163
'../helpers/capabilityHelper' : {
162
164
validate : capabilityValidatorStub
@@ -197,6 +199,7 @@ describe("runs", () => {
197
199
sinon . assert . calledOnce ( setLocalIdentifierStub ) ;
198
200
sinon . assert . calledOnce ( setUsageReportingFlagStub ) ;
199
201
sinon . assert . calledOnce ( setGeolocationStub ) ;
202
+ sinon . assert . calledOnce ( setSpecTimeoutStub ) ;
200
203
sinon . assert . calledOnceWithExactly (
201
204
sendUsageReportStub ,
202
205
bsConfig ,
@@ -254,6 +257,7 @@ describe("runs", () => {
254
257
setCLIModeStub = sandbox . stub ( ) ;
255
258
setGeolocationStub = sandbox . stub ( ) ;
256
259
getVideoConfigStub = sandbox . stub ( ) ;
260
+ setSpecTimeoutStub = sandbox . stub ( ) . returns ( undefined ) ;
257
261
} ) ;
258
262
259
263
afterEach ( ( ) => {
@@ -298,6 +302,7 @@ describe("runs", () => {
298
302
setCLIMode : setCLIModeStub ,
299
303
setGeolocation : setGeolocationStub ,
300
304
getVideoConfig : getVideoConfigStub ,
305
+ setSpecTimeout : setSpecTimeoutStub
301
306
} ,
302
307
'../helpers/capabilityHelper' : {
303
308
validate : capabilityValidatorStub ,
@@ -357,6 +362,7 @@ describe("runs", () => {
357
362
sinon . assert . calledOnce ( setDefaultsStub ) ;
358
363
sinon . assert . calledOnce ( setSystemEnvsStub ) ;
359
364
sinon . assert . calledOnce ( setGeolocationStub ) ;
365
+ sinon . assert . calledOnce ( setSpecTimeoutStub ) ;
360
366
sinon . assert . calledOnceWithExactly (
361
367
sendUsageReportStub ,
362
368
bsConfig ,
@@ -416,6 +422,7 @@ describe("runs", () => {
416
422
fetchZipSizeStub = sandbox . stub ( ) ;
417
423
setGeolocationStub = sandbox . stub ( ) ;
418
424
getVideoConfigStub = sandbox . stub ( ) ;
425
+ setSpecTimeoutStub = sandbox . stub ( ) . returns ( undefined ) ;
419
426
} ) ;
420
427
421
428
afterEach ( ( ) => {
@@ -461,6 +468,7 @@ describe("runs", () => {
461
468
fetchZipSize : fetchZipSizeStub ,
462
469
setGeolocation : setGeolocationStub ,
463
470
getVideoConfig : getVideoConfigStub ,
471
+ setSpecTimeout : setSpecTimeoutStub
464
472
} ,
465
473
'../helpers/capabilityHelper' : {
466
474
validate : capabilityValidatorStub ,
@@ -522,6 +530,7 @@ describe("runs", () => {
522
530
sinon . assert . calledOnce ( setDefaultsStub ) ;
523
531
sinon . assert . calledOnce ( setSystemEnvsStub ) ;
524
532
sinon . assert . calledOnce ( setGeolocationStub ) ;
533
+ sinon . assert . calledOnce ( setSpecTimeoutStub ) ;
525
534
sinon . assert . calledOnceWithExactly (
526
535
sendUsageReportStub ,
527
536
bsConfig ,
@@ -586,6 +595,7 @@ describe("runs", () => {
586
595
fetchZipSizeStub = sandbox . stub ( ) ;
587
596
setGeolocationStub = sandbox . stub ( ) ;
588
597
getVideoConfigStub = sandbox . stub ( ) ;
598
+ setSpecTimeoutStub = sandbox . stub ( ) . returns ( undefined ) ;
589
599
} ) ;
590
600
591
601
afterEach ( ( ) => {
@@ -632,6 +642,7 @@ describe("runs", () => {
632
642
fetchZipSize : fetchZipSizeStub ,
633
643
setGeolocation : setGeolocationStub ,
634
644
getVideoConfig : getVideoConfigStub ,
645
+ setSpecTimeout : setSpecTimeoutStub
635
646
} ,
636
647
'../helpers/capabilityHelper' : {
637
648
validate : capabilityValidatorStub ,
@@ -704,6 +715,7 @@ describe("runs", () => {
704
715
sinon . assert . calledOnce ( setDefaultsStub ) ;
705
716
sinon . assert . calledOnce ( setSystemEnvsStub ) ;
706
717
sinon . assert . calledOnce ( setGeolocationStub ) ;
718
+ sinon . assert . calledOnce ( setSpecTimeoutStub ) ;
707
719
708
720
sinon . assert . calledOnceWithExactly (
709
721
sendUsageReportStub ,
@@ -782,6 +794,7 @@ describe("runs", () => {
782
794
fetchZipSizeStub = sandbox . stub ( ) ;
783
795
setGeolocationStub = sandbox . stub ( ) ;
784
796
getVideoConfigStub = sandbox . stub ( ) ;
797
+ setSpecTimeoutStub = sandbox . stub ( ) . returns ( undefined ) ;
785
798
} ) ;
786
799
787
800
afterEach ( ( ) => {
@@ -836,6 +849,7 @@ describe("runs", () => {
836
849
fetchZipSize : fetchZipSizeStub ,
837
850
setGeolocation : setGeolocationStub ,
838
851
getVideoConfig : getVideoConfigStub ,
852
+ setSpecTimeout : setSpecTimeoutStub
839
853
} ,
840
854
'../helpers/capabilityHelper' : {
841
855
validate : capabilityValidatorStub ,
0 commit comments