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:
authorJimmy Wärting <jimmy@warting.se>2021-10-26 19:28:43 +0300
committerGitHub <noreply@github.com>2021-10-26 19:28:43 +0300
commitba6b799ff614fedf26a29448620604aae3d2afec (patch)
tree4be227f5480503dd9857e1dcffa06d0f54e4548c /test/node/seed-while-download.js
parent7906081aa03b022451d55027360002775655e2bf (diff)
fix: Prep for esm (#2205)
* prep for esm * update min req node vers * revert node prefix
Diffstat (limited to 'test/node/seed-while-download.js')
-rw-r--r--test/node/seed-while-download.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/seed-while-download.js b/test/node/seed-while-download.js
index 3606805..0b710d9 100644
--- a/test/node/seed-while-download.js
+++ b/test/node/seed-while-download.js
@@ -1,10 +1,10 @@
+const fs = require('fs')
const DHT = require('bittorrent-dht/server')
const fixtures = require('webtorrent-fixtures')
-const fs = require('fs')
const MemoryChunkStore = require('memory-chunk-store')
const series = require('run-series')
const test = require('tape')
-const WebTorrent = require('../../')
+const WebTorrent = require('../../index.js')
test('Seed and download a file at the same time', t => {
t.plan(14)