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
path: root/test
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2021-02-04 06:36:27 +0300
committerFeross Aboukhadijeh <feross@feross.org>2021-02-04 06:36:27 +0300
commit1d735fe4a0d0dae906d203b92b3c1aa058c8c61d (patch)
tree8c1a1bb462fa7e4f5b7f00a4868c3202f783dcc0 /test
parent6be9b485d2fa8550b77d9fc03367542d3a659915 (diff)
standard
Diffstat (limited to 'test')
-rw-r--r--test/node/download-from-ip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/node/download-from-ip.js b/test/node/download-from-ip.js
index ba25d41..5905473 100644
--- a/test/node/download-from-ip.js
+++ b/test/node/download-from-ip.js
@@ -69,7 +69,7 @@ test('Download via magnet x.pe (BEP09)', (t) => {
// torrent metadata has been fetched -- sanity check it
t.equal(torrent.name, 'Leaves of Grass by Walt Whitman.epub')
- var names = ['Leaves of Grass by Walt Whitman.epub']
+ const names = ['Leaves of Grass by Walt Whitman.epub']
t.deepEqual(torrent.files.map(function (file) { return file.name }), names)
})