diff options
author | Jimmy Wärting <jimmy@warting.se> | 2018-08-29 14:22:31 +0300 |
---|---|---|
committer | Jimmy Wärting <jimmy@warting.se> | 2018-08-29 14:22:31 +0300 |
commit | 87930170c178bafef993af33a628b7a3861941fe (patch) | |
tree | eee5388148a51ef512252ed1109433af3c2a0748 /test/rarity-map.js | |
parent | 7b53faa23d4bb6d4ae0581ff7cb505c08c3809a0 (diff) |
bye bye xtend
Diffstat (limited to 'test/rarity-map.js')
-rw-r--r-- | test/rarity-map.js | 3 |
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 = { |