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:
Diffstat (limited to 'test/node/extensions.js')
-rw-r--r--test/node/extensions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/node/extensions.js b/test/node/extensions.js
index 5b68950..9dccd1d 100644
--- a/test/node/extensions.js
+++ b/test/node/extensions.js
@@ -49,7 +49,7 @@ test('extension support', function (t) {
t.pass('client2 onWire')
wire.use(Extension)
})
- client2.on('listening', function () {
+ torrent2.on('infoHash', function () {
torrent2.addPeer('127.0.0.1:' + client1.address().port)
})
})