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:
authorJulen Garcia Leunda <hicom150@gmail.com>2020-11-12 19:06:59 +0300
committerJulen Garcia Leunda <hicom150@gmail.com>2020-11-12 19:06:59 +0300
commit7c34ba107a094f170385c8a387a254b46052e9c7 (patch)
tree4ab77343360ff1c68274f2da1c149102599ddd62 /test/client-destroy.js
parent21fb2f8e02eaadaef3108a73a9dfd4579de74a6c (diff)
Fix tests disabling lsd option
Diffstat (limited to 'test/client-destroy.js')
-rw-r--r--test/client-destroy.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/client-destroy.js b/test/client-destroy.js
index eaf6c70..b42a25e 100644
--- a/test/client-destroy.js
+++ b/test/client-destroy.js
@@ -5,7 +5,7 @@ const WebTorrent = require('../')
test('after client.destroy(), throw on client.add() or client.seed()', function (t) {
t.plan(3)
- const client = new WebTorrent({ dht: false, tracker: false })
+ const client = new WebTorrent({ dht: false, tracker: false, lsd: false })
client.on('error', function (err) { t.fail(err) })
client.on('warning', function (err) { t.fail(err) })
@@ -23,7 +23,7 @@ test('after client.destroy(), throw on client.add() or client.seed()', function
test('after client.destroy(), no "torrent" or "ready" events emitted', function (t) {
t.plan(1)
- const client = new WebTorrent({ dht: false, tracker: false })
+ const client = new WebTorrent({ dht: false, tracker: false, lsd: false })
client.on('error', function (err) { t.fail(err) })
client.on('warning', function (err) { t.fail(err) })