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.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/node/extensions.js b/test/node/extensions.js
index 399c1e3..5b68950 100644
--- a/test/node/extensions.js
+++ b/test/node/extensions.js
@@ -1,4 +1,4 @@
-var common = require('../common')
+var fixtures = require('webtorrent-fixtures')
var test = require('tape')
var WebTorrent = require('../../')
@@ -39,12 +39,12 @@ test('extension support', function (t) {
client2.on('error', function (err) { t.fail(err) })
client2.on('warning', function (err) { t.fail(err) })
- client1.add(common.leaves.parsedTorrent, function (torrent1) {
+ client1.add(fixtures.leaves.parsedTorrent, function (torrent1) {
torrent1.on('wire', function (wire) {
t.pass('client1 onWire')
wire.use(Extension)
})
- var torrent2 = client2.add(common.leaves.parsedTorrent.infoHash)
+ var torrent2 = client2.add(fixtures.leaves.parsedTorrent.infoHash)
torrent2.on('wire', function (wire) {
t.pass('client2 onWire')
wire.use(Extension)