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-dht.js')
-rw-r--r--test/node/blocklist-dht.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/node/blocklist-dht.js b/test/node/blocklist-dht.js
index 2ecec36..d718d6e 100644
--- a/test/node/blocklist-dht.js
+++ b/test/node/blocklist-dht.js
@@ -24,6 +24,7 @@ test('blocklist blocks peers discovered via DHT', function (t) {
client1 = new WebTorrent({
tracker: false,
+ lsd: false,
dht: { bootstrap: '127.0.0.1:' + dhtServer.address().port }
})
client1.on('error', function (err) { t.fail(err) })
@@ -61,6 +62,7 @@ test('blocklist blocks peers discovered via DHT', function (t) {
function (cb) {
client2 = new WebTorrent({
tracker: false,
+ lsd: false,
dht: { bootstrap: '127.0.0.1:' + dhtServer.address().port },
blocklist: ['127.0.0.1']
})