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-webseed-torrent.js')
-rw-r--r--test/node/download-webseed-torrent.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/download-webseed-torrent.js b/test/node/download-webseed-torrent.js
index 39bec56..c257fd0 100644
--- a/test/node/download-webseed-torrent.js
+++ b/test/node/download-webseed-torrent.js
@@ -64,7 +64,7 @@ test('Download using webseed (via .torrent file)', function (t) {
}
})
- client.add(parsedTorrent, {store: MemoryChunkStore})
+ client.add(parsedTorrent, { store: MemoryChunkStore })
}
], function (err) {
t.error(err)
@@ -102,7 +102,7 @@ test('Disable webseeds', function (t) {
client.on('error', function (err) { t.fail(err) })
client.on('warning', function (err) { t.fail(err) })
- client.add(parsedTorrent, {store: MemoryChunkStore})
+ client.add(parsedTorrent, { store: MemoryChunkStore })
// The test above ensures that we can download the whole torrent over webseeds within a
// short time. Here, we wait the same amount of time and make sure no HTTP requests happen.