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/node/blocklist-tracker.js')
-rw-r--r--test/node/blocklist-tracker.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/node/blocklist-tracker.js b/test/node/blocklist-tracker.js
index 74d831d..8633685 100644
--- a/test/node/blocklist-tracker.js
+++ b/test/node/blocklist-tracker.js
@@ -35,7 +35,7 @@ test('blocklist blocks peers discovered via tracker', function (t) {
},
function (cb) {
- client1 = new WebTorrent({ dht: false })
+ client1 = new WebTorrent({ dht: false, lsd: false })
client1.on('error', function (err) { t.fail(err) })
client1.on('warning', function (err) { t.fail(err) })
@@ -56,6 +56,7 @@ test('blocklist blocks peers discovered via tracker', function (t) {
function (cb) {
client2 = new WebTorrent({
dht: false,
+ lsd: false,
blocklist: ['127.0.0.1']
})
client2.on('error', function (err) { t.fail(err) })