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-tracker-torrent.js')
-rw-r--r--test/node/download-tracker-torrent.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/download-tracker-torrent.js b/test/node/download-tracker-torrent.js
index a2ba8e0..e44a8f4 100644
--- a/test/node/download-tracker-torrent.js
+++ b/test/node/download-tracker-torrent.js
@@ -66,7 +66,7 @@ function torrentDownloadTest (t, serverType) {
torrent.load(fs.createReadStream(fixtures.leaves.contentPath), cb)
})
- client1.add(parsedTorrent, {store: MemoryChunkStore})
+ client1.add(parsedTorrent, { store: MemoryChunkStore })
},
function (cb) {
@@ -74,7 +74,7 @@ function torrentDownloadTest (t, serverType) {
client2.on('error', function (err) { t.fail(err) })
client2.on('warning', function (err) { t.fail(err) })
- client2.add(parsedTorrent, {store: MemoryChunkStore})
+ client2.add(parsedTorrent, { store: MemoryChunkStore })
client2.on('torrent', function (torrent) {
torrent.files.forEach(function (file) {