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
path: root/test
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2015-12-19 05:01:57 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-12-28 14:34:36 +0300
commited9d59f0193fc0421a3b37cbb90510164a5fd044 (patch)
treee15686987dd4f2e2b7c473a26c3afb8321cc295e /test
parentdffe5de60710a73be29ea6ac06994829c9cf7619 (diff)
remove weird global.Blob usage
Diffstat (limited to 'test')
-rw-r--r--test/basic.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/basic.js b/test/basic.js
index 0577d99..2630f04 100644
--- a/test/basic.js
+++ b/test/basic.js
@@ -274,7 +274,7 @@ test('client.seed: torrent file (Blob)', function (t) {
client.on('error', function (err) { t.fail(err) })
client.on('warning', function (err) { t.fail(err) })
- client.seed(new global.Blob([ common.leaves.content ]), {
+ client.seed(new Blob([ common.leaves.content ]), {
name: 'Leaves of Grass by Walt Whitman.epub'
}, function (torrent) {
t.equal(client.torrents.length, 1)