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:
Diffstat (limited to 'test/node/download-dht-magnet.js')
-rw-r--r--test/node/download-dht-magnet.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/download-dht-magnet.js b/test/node/download-dht-magnet.js
index f96a666..aeb580a 100644
--- a/test/node/download-dht-magnet.js
+++ b/test/node/download-dht-magnet.js
@@ -35,7 +35,7 @@ test('Download using DHT (via magnet uri)', function (t) {
client1.on('error', function (err) { t.fail(err) })
client1.on('warning', function (err) { t.fail(err) })
- var torrent = client1.add(fixtures.leaves.parsedTorrent, {store: MemoryChunkStore})
+ var torrent = client1.add(fixtures.leaves.parsedTorrent, { store: MemoryChunkStore })
torrent.on('dhtAnnounce', function () {
t.pass('finished dht announce')
@@ -90,7 +90,7 @@ test('Download using DHT (via magnet uri)', function (t) {
})
})
- client2.add(fixtures.leaves.magnetURI, {store: MemoryChunkStore})
+ client2.add(fixtures.leaves.magnetURI, { store: MemoryChunkStore })
var gotBuffer = false
var gotDone = false