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/blocklist-tracker.js')
-rw-r--r--test/node/blocklist-tracker.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/blocklist-tracker.js b/test/node/blocklist-tracker.js
index 665ad48..e877d24 100644
--- a/test/node/blocklist-tracker.js
+++ b/test/node/blocklist-tracker.js
@@ -40,7 +40,7 @@ test('blocklist blocks peers discovered via tracker', function (t) {
client1.on('warning', function (err) { t.fail(err) })
var torrent1 = client1.add(parsedTorrent, {
- path: common.getTestPath('client_1', parsedTorrent.infoHash)
+ path: common.getDownloadPath('client_1', parsedTorrent.infoHash)
})
torrent1.on('invalidPeer', function () {
@@ -62,7 +62,7 @@ test('blocklist blocks peers discovered via tracker', function (t) {
client2.on('warning', function (err) { t.fail(err) })
var torrent2 = client2.add(parsedTorrent, {
- path: common.getTestPath('client_2', parsedTorrent.infoHash)
+ path: common.getDownloadPath('client_2', parsedTorrent.infoHash)
})
torrent2.once('blockedPeer', function () {