diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-01-26 22:28:59 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-01-26 22:28:59 +0300 |
commit | e2ca6fbaba8f59d31de315d4d5515f7f527bace0 (patch) | |
tree | 5984d3e1eb5862a18daf7d0d6a04786f4a853414 /test/basic.js | |
parent | df77c9474303167485525946a62163d009efc6f8 (diff) |
fix unexpected 'torrent' event in browser
Diffstat (limited to 'test/basic.js')
-rw-r--r-- | test/basic.js | 4 |
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') |