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:
authorFeross Aboukhadijeh <feross@feross.org>2019-07-06 00:37:45 +0300
committerFeross Aboukhadijeh <feross@feross.org>2019-07-06 00:37:45 +0300
commit733e571a436951a8178d293cfa7315ad6bccf6b5 (patch)
tree67ab51ccacce61a69da4378a0063edd58535babe /test/node/blocklist.js
parent7d747efeca17a20298c51e2f393e38622c4053cd (diff)
standard
Diffstat (limited to 'test/node/blocklist.js')
-rw-r--r--test/node/blocklist.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/blocklist.js b/test/node/blocklist.js
index f39b232..87c131f 100644
--- a/test/node/blocklist.js
+++ b/test/node/blocklist.js
@@ -25,7 +25,7 @@ test('blocklist (single IP)', function (t) {
var client = new WebTorrent({
dht: false,
tracker: false,
- blocklist: [ '1.2.3.4' ]
+ blocklist: ['1.2.3.4']
})
client.on('error', function (err) { t.fail(err) })
client.on('warning', function (err) { t.fail(err) })
@@ -51,7 +51,7 @@ test('blocklist (array of IPs)', function (t) {
var client = new WebTorrent({
dht: false,
tracker: false,
- blocklist: [ '1.2.3.4', '5.6.7.8' ]
+ blocklist: ['1.2.3.4', '5.6.7.8']
})
.on('error', function (err) { t.fail(err) })
.on('warning', function (err) { t.fail(err) })