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/node/seed-while-download.js
parent9da7bcdb5019565b9dc98c66d7e22b10e8d79cf3 (diff)
standard
Diffstat (limited to 'test/node/seed-while-download.js')
-rw-r--r--test/node/seed-while-download.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/node/seed-while-download.js b/test/node/seed-while-download.js
index 0ee61ad..b8f3500 100644
--- a/test/node/seed-while-download.js
+++ b/test/node/seed-while-download.js
@@ -30,7 +30,7 @@ test('Seed and download a file at the same time', function (t) {
client1.on('error', function (err) { t.fail(err) })
client1.on('warning', function (err) { t.fail(err) })
- var torrent = client1.add(fixtures.leaves.torrent, {store: MemoryChunkStore})
+ var torrent = client1.add(fixtures.leaves.torrent, { store: MemoryChunkStore })
torrent.on('dhtAnnounce', function () {
t.pass('client1 finished dht announce')
@@ -60,7 +60,7 @@ test('Seed and download a file at the same time', function (t) {
client2.on('error', function (err) { t.fail(err) })
client2.on('warning', function (err) { t.fail(err) })
- var torrent = client2.add(fixtures.alice.torrent, {store: MemoryChunkStore})
+ var torrent = client2.add(fixtures.alice.torrent, { store: MemoryChunkStore })
torrent.on('dhtAnnounce', function () {
t.pass('client2 finished dht announce')
@@ -82,7 +82,7 @@ test('Seed and download a file at the same time', function (t) {
},
function (cb) {
- client1.add(fixtures.alice.magnetURI, {store: MemoryChunkStore})
+ client1.add(fixtures.alice.magnetURI, { store: MemoryChunkStore })
client1.on('torrent', function (torrent) {
torrent.files[0].getBuffer(function (err, buf) {
@@ -99,7 +99,7 @@ test('Seed and download a file at the same time', function (t) {
})
})
- client2.add(fixtures.leaves.magnetURI, {store: MemoryChunkStore})
+ client2.add(fixtures.leaves.magnetURI, { store: MemoryChunkStore })
client2.on('torrent', function (torrent) {
torrent.files[0].getBuffer(function (err, buf) {