Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/client-add-duplicate-trackers.js')
-rw-r--r--test/client-add-duplicate-trackers.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/client-add-duplicate-trackers.js b/test/client-add-duplicate-trackers.js
index 161e920..3c9c366 100644
--- a/test/client-add-duplicate-trackers.js
+++ b/test/client-add-duplicate-trackers.js
@@ -11,7 +11,7 @@ test('client.add: duplicate trackers', function (t) {
client.on('warning', function (err) { t.fail(err) })
var torrent = client.add(fixtures.leaves.torrent, {
- announce: [ 'wss://example.com', 'wss://example.com', 'wss://example.com' ]
+ announce: ['wss://example.com', 'wss://example.com', 'wss://example.com']
})
torrent.on('ready', function () {
@@ -26,7 +26,7 @@ test('client.add: duplicate trackers, with multiple torrents', function (t) {
// Re-use this object, in case webtorrent is changing it
var opts = {
- announce: [ 'wss://example.com', 'wss://example.com', 'wss://example.com' ]
+ announce: ['wss://example.com', 'wss://example.com', 'wss://example.com']
}
var client = new WebTorrent({ dht: false, tracker: false })
@@ -56,15 +56,15 @@ test('client.add: duplicate trackers (including in .torrent file), multiple torr
// Re-use this object, in case webtorrent is changing it
var opts = {
- announce: [ 'wss://example.com', 'wss://example.com', 'wss://example.com' ]
+ announce: ['wss://example.com', 'wss://example.com', 'wss://example.com']
}
// Include the duplicate trackers in the .torrent files
var parsedTorrentLeaves = Object.assign({}, fixtures.leaves.parsedTorrent)
- parsedTorrentLeaves.announce = [ 'wss://example.com', 'wss://example.com', 'wss://example.com' ]
+ parsedTorrentLeaves.announce = ['wss://example.com', 'wss://example.com', 'wss://example.com']
var parsedTorrentAlice = Object.assign({}, fixtures.alice.parsedTorrent)
- parsedTorrentAlice.announce = [ 'wss://example.com', 'wss://example.com', 'wss://example.com' ]
+ parsedTorrentAlice.announce = ['wss://example.com', 'wss://example.com', 'wss://example.com']
var client = new WebTorrent({ dht: false, tracker: false })