@@ -51,7 +51,12 @@ describe('devtools connect', function () {
5151 expect ( mClientType . getCalls ( ) [ 0 ] . args [ 0 ] ) . to . equal ( uri ) ;
5252 expect (
5353 Object . keys ( mClientType . getCalls ( ) [ 0 ] . args [ 1 ] ) . sort ( ) ,
54- ) . to . deep . equal ( [ 'allowPartialTrustChain' , 'ca' , 'lookup' ] ) ;
54+ ) . to . deep . equal ( [
55+ '__skipPingOnConnect' ,
56+ 'allowPartialTrustChain' ,
57+ 'ca' ,
58+ 'lookup' ,
59+ ] ) ;
5560 expect ( mClient . connect . getCalls ( ) ) . to . have . lengthOf ( 1 ) ;
5661 expect ( result . client ) . to . equal ( mClient ) ;
5762 } ) ;
@@ -74,6 +79,7 @@ describe('devtools connect', function () {
7479 expect (
7580 Object . keys ( mClientType . getCalls ( ) [ 0 ] . args [ 1 ] ) . sort ( ) ,
7681 ) . to . deep . equal ( [
82+ '__skipPingOnConnect' ,
7783 'allowPartialTrustChain' ,
7884 'autoEncryption' ,
7985 'ca' ,
@@ -119,7 +125,12 @@ describe('devtools connect', function () {
119125 expect ( calls [ 0 ] . args [ 0 ] ) . to . equal ( uri ) ;
120126 expect (
121127 Object . keys ( mClientType . getCalls ( ) [ 0 ] . args [ 1 ] ) . sort ( ) ,
122- ) . to . deep . equal ( [ 'allowPartialTrustChain' , 'ca' , 'lookup' ] ) ;
128+ ) . to . deep . equal ( [
129+ '__skipPingOnConnect' ,
130+ 'allowPartialTrustChain' ,
131+ 'ca' ,
132+ 'lookup' ,
133+ ] ) ;
123134 expect ( commandSpy ) . to . have . been . calledOnceWithExactly ( { buildInfo : 1 } ) ;
124135 expect ( result . client ) . to . equal ( mClientSecond ) ;
125136 } ) ;
@@ -198,6 +209,7 @@ describe('devtools connect', function () {
198209 expect (
199210 Object . keys ( mClientType . getCalls ( ) [ 0 ] . args [ 1 ] ) . sort ( ) ,
200211 ) . to . deep . equal ( [
212+ '__skipPingOnConnect' ,
201213 'allowPartialTrustChain' ,
202214 'autoEncryption' ,
203215 'ca' ,
@@ -240,7 +252,12 @@ describe('devtools connect', function () {
240252 expect ( mClientType . getCalls ( ) [ 0 ] . args [ 0 ] ) . to . equal ( uri ) ;
241253 expect (
242254 Object . keys ( mClientType . getCalls ( ) [ 0 ] . args [ 1 ] ) . sort ( ) ,
243- ) . to . deep . equal ( [ 'allowPartialTrustChain' , 'ca' , 'lookup' ] ) ;
255+ ) . to . deep . equal ( [
256+ '__skipPingOnConnect' ,
257+ 'allowPartialTrustChain' ,
258+ 'ca' ,
259+ 'lookup' ,
260+ ] ) ;
244261 expect ( commandSpy ) . to . have . been . calledOnceWithExactly ( { buildInfo : 1 } ) ;
245262 expect ( result . client ) . to . equal ( mClientSecond ) ;
246263 } ) ;
@@ -395,10 +412,19 @@ describe('devtools connect', function () {
395412 expect ( mClientType . getCalls ( ) ) . to . have . lengthOf ( 2 ) ;
396413 expect (
397414 Object . keys ( mClientType . getCalls ( ) [ 0 ] . args [ 1 ] ) . sort ( ) ,
398- ) . to . deep . equal ( [ 'allowPartialTrustChain' , 'ca' , 'lookup' ] ) ;
415+ ) . to . deep . equal ( [
416+ '__skipPingOnConnect' ,
417+ 'allowPartialTrustChain' ,
418+ 'ca' ,
419+ 'lookup' ,
420+ ] ) ;
399421 expect (
400422 Object . keys ( mClientType . getCalls ( ) [ 1 ] . args [ 1 ] ) . sort ( ) ,
401- ) . to . deep . equal ( [ 'allowPartialTrustChain' , 'lookup' ] ) ;
423+ ) . to . deep . equal ( [
424+ '__skipPingOnConnect' ,
425+ 'allowPartialTrustChain' ,
426+ 'lookup' ,
427+ ] ) ;
402428 expect ( ( mClient as any ) . connect . getCalls ( ) ) . to . have . lengthOf ( 2 ) ;
403429
404430 expect ( earlyFailures ) . to . equal ( 2 ) ;
0 commit comments