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/limit-download-upload.js')
-rw-r--r--test/node/limit-download-upload.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/node/limit-download-upload.js b/test/node/limit-download-upload.js
index ea046ec..a8982cb 100644
--- a/test/node/limit-download-upload.js
+++ b/test/node/limit-download-upload.js
@@ -1,7 +1,7 @@
-const fixtures = require('webtorrent-fixtures')
-const test = require('tape')
-const MemoryChunkStore = require('memory-chunk-store')
-const WebTorrent = require('../../index.js')
+import fixtures from 'webtorrent-fixtures'
+import test from 'tape'
+import MemoryChunkStore from 'memory-chunk-store'
+import WebTorrent from '../../index.js'
const DOWNLOAD_SPEED_LIMIT = 200 * 1000 // 200 KB/s
const UPLOAD_SPEED_LIMIT = 200 * 1000 // 200 KB/s