diff options
Diffstat (limited to 'test/node/download-private-dht.js')
-rw-r--r-- | test/node/download-private-dht.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/download-private-dht.js b/test/node/download-private-dht.js index 8a49798..35f90d3 100644 --- a/test/node/download-private-dht.js +++ b/test/node/download-private-dht.js @@ -29,7 +29,7 @@ test('private torrent should not use DHT', function (t) { client.on('error', function (err) { t.fail(err) }) client.on('warning', function (err) { t.fail(err) }) - var torrent = client.add(fixtures.bunny.parsedTorrent, {store: MemoryChunkStore}) + var torrent = client.add(fixtures.bunny.parsedTorrent, { store: MemoryChunkStore }) torrent.on('dhtAnnounce', function () { t.fail('client announced to dht') @@ -77,7 +77,7 @@ test('public torrent should use DHT', function (t) { client.on('error', function (err) { t.fail(err) }) client.on('warning', function (err) { t.fail(err) }) - var torrent = client.add(fixtures.leaves.parsedTorrent, {store: MemoryChunkStore}) + var torrent = client.add(fixtures.leaves.parsedTorrent, { store: MemoryChunkStore }) torrent.on('dhtAnnounce', function () { t.pass('client announced to dht') |