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
path: root/test
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2016-09-27 06:09:26 +0300
committerFeross Aboukhadijeh <feross@feross.org>2016-09-27 06:09:26 +0300
commit4998a294b9f2e8bd2e95b24cac416e2f0b4c95b0 (patch)
tree2452a03900f3ad642ac879de06315d1cb5b74c1a /test
parentd62778ed0786818971a72f75be4d4a52494cae83 (diff)
test: style cleanup
Diffstat (limited to 'test')
-rw-r--r--test/node/basic.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/basic.js b/test/node/basic.js
index 8bf598c..7559309 100644
--- a/test/node/basic.js
+++ b/test/node/basic.js
@@ -99,7 +99,7 @@ test('client.seed: filesystem path to folder with one file, string', function (t
client.on('error', function (err) { t.fail(err) })
client.on('warning', function (err) { t.fail(err) })
- client.seed(fixtures.folder.contentPath, {announce: false}, function (torrent) {
+ client.seed(fixtures.folder.contentPath, {announce: []}, function (torrent) {
t.equal(client.torrents.length, 1)
t.equal(torrent.infoHash, fixtures.folder.parsedTorrent.infoHash)
t.equal(torrent.magnetURI, fixtures.folder.magnetURI)
@@ -119,7 +119,7 @@ test('client.seed: filesystem path to folder with multiple files, string', funct
client.on('error', function (err) { t.fail(err) })
client.on('warning', function (err) { t.fail(err) })
- client.seed(fixtures.numbers.contentPath, {announce: false}, function (torrent) {
+ client.seed(fixtures.numbers.contentPath, {announce: []}, function (torrent) {
t.equal(client.torrents.length, 1)
t.equal(torrent.infoHash, fixtures.numbers.parsedTorrent.infoHash)
t.equal(torrent.magnetURI, fixtures.numbers.magnetURI)