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/rarity-map.js')
-rw-r--r--test/rarity-map.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rarity-map.js b/test/rarity-map.js
index 1fb947d..cde945a 100644
--- a/test/rarity-map.js
+++ b/test/rarity-map.js
@@ -1,4 +1,3 @@
-var extend = require('xtend')
var fixtures = require('webtorrent-fixtures')
var randombytes = require('randombytes')
var test = require('tape')
@@ -9,7 +8,7 @@ test('Rarity map usage', function (t) {
t.plan(16)
var numPieces = 4
- var torrentId = extend(fixtures.numbers.parsedTorrent, {
+ var torrentId = Object.assign({}, fixtures.numbers.parsedTorrent, {
pieces: Array(numPieces)
})
var client = {