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
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2015-01-26 22:28:59 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-01-26 22:28:59 +0300
commite2ca6fbaba8f59d31de315d4d5515f7f527bace0 (patch)
tree5984d3e1eb5862a18daf7d0d6a04786f4a853414 /test/basic.js
parentdf77c9474303167485525946a62163d009efc6f8 (diff)
fix unexpected 'torrent' event in browser
Diffstat (limited to 'test/basic.js')
-rw-r--r--test/basic.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/basic.js b/test/basic.js
index 241594e..107fc8a 100644
--- a/test/basic.js
+++ b/test/basic.js
@@ -104,10 +104,10 @@ test('after client.destroy(), no "torrent" event should be emitted', function (t
var client = new WebTorrent({ dht: false, tracker: false })
client.add(leaves, function () {
- t.fail('unexpected "torrent" event')
+ t.fail('unexpected "torrent" event (from add)')
})
client.seed(leavesBook, function () {
- t.fail('unexpected "torrent" event')
+ t.fail('unexpected "torrent" event (from seed)')
})
client.destroy(function () {
t.pass('client destroyed')