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/browser
parent21fb2f8e02eaadaef3108a73a9dfd4579de74a6c (diff)
Fix tests disabling lsd option
Diffstat (limited to 'test/browser')
-rw-r--r--test/browser/basic.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/browser/basic.js b/test/browser/basic.js
index fcdcc80..b17b0a1 100644
--- a/test/browser/basic.js
+++ b/test/browser/basic.js
@@ -20,7 +20,7 @@ if (!(global && global.process && global.process.versions && global.process.vers
test('image append w/ query selector', function (t) {
t.plan(6)
- 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) })
@@ -38,7 +38,7 @@ if (!(global && global.process && global.process.versions && global.process.vers
test('image append w/ element', function (t) {
t.plan(6)
- 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) })
@@ -56,7 +56,7 @@ if (!(global && global.process && global.process.versions && global.process.vers
test('image render w/ query selector', function (t) {
t.plan(6)
- 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) })
@@ -78,7 +78,7 @@ if (!(global && global.process && global.process.versions && global.process.vers
test('image render w/ element', function (t) {
t.plan(6)
- 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) })
@@ -100,7 +100,7 @@ if (!(global && global.process && global.process.versions && global.process.vers
test('WebTorrent.WEBRTC_SUPPORT', function (t) {
t.plan(2)
- 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) })