@@ -16,7 +16,7 @@ function testClientStart (t, serverType) {
1616 infoHash : fixtures . leaves . parsedTorrent . infoHash ,
1717 announce : announceUrl ,
1818 peerId : peerId1 ,
19- port : port ,
19+ port,
2020 wrtc : { }
2121 } )
2222
@@ -62,7 +62,7 @@ function testClientStop (t, serverType) {
6262 infoHash : fixtures . leaves . parsedTorrent . infoHash ,
6363 announce : announceUrl ,
6464 peerId : peerId1 ,
65- port : port ,
65+ port,
6666 wrtc : { }
6767 } )
6868
@@ -110,7 +110,7 @@ function testClientStopDestroy (t, serverType) {
110110 infoHash : fixtures . leaves . parsedTorrent . infoHash ,
111111 announce : announceUrl ,
112112 peerId : peerId1 ,
113- port : port ,
113+ port,
114114 wrtc : { }
115115 } )
116116
@@ -164,7 +164,7 @@ function testClientUpdate (t, serverType) {
164164 infoHash : fixtures . leaves . parsedTorrent . infoHash ,
165165 announce : announceUrl ,
166166 peerId : peerId1 ,
167- port : port ,
167+ port,
168168 wrtc : { }
169169 } )
170170
@@ -217,7 +217,7 @@ function testClientScrape (t, serverType) {
217217 infoHash : fixtures . leaves . parsedTorrent . infoHash ,
218218 announce : announceUrl ,
219219 peerId : peerId1 ,
220- port : port ,
220+ port,
221221 wrtc : { }
222222 } )
223223
@@ -259,7 +259,7 @@ function testClientAnnounceWithParams (t, serverType) {
259259 infoHash : fixtures . leaves . parsedTorrent . infoHash ,
260260 announce : announceUrl ,
261261 peerId : peerId1 ,
262- port : port ,
262+ port,
263263 wrtc : { }
264264 } )
265265
@@ -307,7 +307,7 @@ function testClientGetAnnounceOpts (t, serverType) {
307307 infoHash : fixtures . leaves . parsedTorrent . infoHash ,
308308 announce : announceUrl ,
309309 peerId : peerId1 ,
310- port : port ,
310+ port,
311311 getAnnounceOpts : function ( ) {
312312 return {
313313 testParam : 'this is a test'
@@ -358,7 +358,7 @@ function testClientAnnounceWithNumWant (t, serverType) {
358358 infoHash : fixtures . leaves . parsedTorrent . infoHash ,
359359 announce : [ announceUrl ] ,
360360 peerId : peerId1 ,
361- port : port ,
361+ port,
362362 wrtc : { }
363363 } )
364364
@@ -449,7 +449,7 @@ test('http: userAgent', function (t) {
449449 infoHash : fixtures . leaves . parsedTorrent . infoHash ,
450450 announce : announceUrl ,
451451 peerId : peerId1 ,
452- port : port ,
452+ port,
453453 userAgent : 'WebTorrent/0.98.0 (https://webtorrent.io)' ,
454454 wrtc : { }
455455 } )
@@ -476,7 +476,7 @@ function testSupportedTracker (t, serverType) {
476476 infoHash : fixtures . leaves . parsedTorrent . infoHash ,
477477 announce : announceUrl ,
478478 peerId : peerId1 ,
479- port : port ,
479+ port,
480480 wrtc : { }
481481 } )
482482
@@ -514,7 +514,7 @@ function testUnsupportedTracker (t, announceUrl) {
514514 infoHash : fixtures . leaves . parsedTorrent . infoHash ,
515515 announce : announceUrl ,
516516 peerId : peerId1 ,
517- port : port ,
517+ port,
518518 wrtc : { }
519519 } )
520520
0 commit comments