diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2014-10-22 08:13:27 +0400 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2014-10-22 08:13:27 +0400 |
commit | 4bf71da5a68f2a6a0079ba5bf3d8009c2e797e8f (patch) | |
tree | 6ef59effae331679d05457bda164be2d7c0c4df0 /test/multiple.js | |
parent | 8daa4e15c5e1040d3b51d1e3187121aa7febbbe5 (diff) |
clean up tests
Diffstat (limited to 'test/multiple.js')
-rw-r--r-- | test/multiple.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/multiple.js b/test/multiple.js index cf92266..93fdde7 100644 --- a/test/multiple.js +++ b/test/multiple.js @@ -1,5 +1,5 @@ /* -var BitTorrentClient = require('../') +var WebTorrent = require('../') var test = require('tape') var fs = require('fs') @@ -11,7 +11,7 @@ var torrents = [ 'leaves', 'pride' ].map(function (name) { test('two simultaneous downloads with dht disabled', function (t) { t.plan(torrents.length * 2) - var client = new BitTorrentClient({ dht: false }) + var client = new WebTorrent({ dht: false }) var numDone = 0 client.on('error', function (err) { t.fail(err.message) }) @@ -36,7 +36,7 @@ test('two simultaneous downloads with dht disabled', function (t) { test('two simultaneous downloads with dht enabled', function (t) { t.plan(torrents.length * 2) - var client = new BitTorrentClient() + var client = new WebTorrent() var numDone = 0 client.on('error', function (err) { t.fail(err.message) }) |