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:
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)