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>2018-08-29 04:33:04 +0300
committerFeross Aboukhadijeh <feross@feross.org>2018-08-29 04:33:04 +0300
commit6fbef8e7bcc035b38468fd959c2f2da4d71edf47 (patch)
treee8015b4c82ccd699e85834529482c7144c7b87f5 /test/client-seed.js
parent9da7bcdb5019565b9dc98c66d7e22b10e8d79cf3 (diff)
standard
Diffstat (limited to 'test/client-seed.js')
-rw-r--r--test/client-seed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/client-seed.js b/test/client-seed.js
index 7a41ba9..48d958d 100644
--- a/test/client-seed.js
+++ b/test/client-seed.js
@@ -39,7 +39,7 @@ test('client.seed: torrent file (Buffer), set name on buffer', function (t) {
var buf = Buffer.from(fixtures.leaves.content)
buf.name = 'Leaves of Grass by Walt Whitman.epub'
- client.seed(buf, {announce: []}, function (torrent) {
+ client.seed(buf, { announce: [] }, function (torrent) {
t.equal(client.torrents.length, 1)
t.equal(torrent.infoHash, fixtures.leaves.parsedTorrent.infoHash)
t.equal(torrent.magnetURI, fixtures.leaves.magnetURI)