diff options
Diffstat (limited to 'test/download.js')
-rw-r--r-- | test/download.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/download.js b/test/download.js index e5dfe4b..3e895e4 100644 --- a/test/download.js +++ b/test/download.js @@ -1,6 +1,5 @@ var auto = require('run-auto') var WebTorrent = require('../') -var BlockStream = require('block-stream') var DHT = require('bittorrent-dht/client') var fs = require('fs') var parseTorrent = require('parse-torrent') @@ -212,7 +211,7 @@ test('Simple download using DHT', function (t) { }, client1: ['dhtPort', function (cb, r) { var client1 = new WebTorrent({ - trackers: false, + tracker: false, dht: { bootstrap: '127.0.0.1:' + r.dhtPort } }) client1.on('error', function (err) { t.fail(err) }) @@ -245,7 +244,7 @@ test('Simple download using DHT', function (t) { client2: ['client1', function (cb, r) { var client2 = new WebTorrent({ - trackers: false, + tracker: false, dht: { bootstrap: '127.0.0.1:' + r.dhtPort } }) client2.on('error', function (err) { t.fail(err) }) |