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/browser/basic.js')
-rw-r--r--test/browser/basic.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/browser/basic.js b/test/browser/basic.js
index 9373a54..dea6ce6 100644
--- a/test/browser/basic.js
+++ b/test/browser/basic.js
@@ -1,5 +1,5 @@
-const test = require('tape')
-const WebTorrent = require('../../index.js')
+import test from 'tape'
+import WebTorrent from '../../index.js'
const img = Buffer.from('R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', 'base64')
img.name = 'img.png'