diff options
Diffstat (limited to 'test/node/server.js')
-rw-r--r-- | test/node/server.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/node/server.js b/test/node/server.js index 4df57e6..eea4eda 100644 --- a/test/node/server.js +++ b/test/node/server.js @@ -1,8 +1,8 @@ -const fs = require('fs') -const fixtures = require('webtorrent-fixtures') -const get = require('simple-get') -const test = require('tape') -const WebTorrent = require('../../index.js') +import fs from 'fs' +import fixtures from 'webtorrent-fixtures' +import get from 'simple-get' +import test from 'tape' +import WebTorrent from '../../index.js' test('torrent.createServer: programmatic http server', t => { t.plan(9) |