diff options
author | Julen Garcia Leunda <hicom150@gmail.com> | 2020-11-12 19:06:59 +0300 |
---|---|---|
committer | Julen Garcia Leunda <hicom150@gmail.com> | 2020-11-12 19:06:59 +0300 |
commit | 7c34ba107a094f170385c8a387a254b46052e9c7 (patch) | |
tree | 4ab77343360ff1c68274f2da1c149102599ddd62 /test/node/blocklist-tracker.js | |
parent | 21fb2f8e02eaadaef3108a73a9dfd4579de74a6c (diff) |
Fix tests disabling lsd option
Diffstat (limited to 'test/node/blocklist-tracker.js')
-rw-r--r-- | test/node/blocklist-tracker.js | 3 |
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) }) |