diff options
Diffstat (limited to 'test/node/torrent-events.js')
-rw-r--r-- | test/node/torrent-events.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/node/torrent-events.js b/test/node/torrent-events.js index 532db29..bb2de83 100644 --- a/test/node/torrent-events.js +++ b/test/node/torrent-events.js @@ -1,8 +1,8 @@ -const fixtures = require('webtorrent-fixtures') -const test = require('tape') -const MemoryChunkStore = require('memory-chunk-store') -const randombytes = require('randombytes') -const WebTorrent = require('../../index.js') +import fixtures from 'webtorrent-fixtures' +import test from 'tape' +import MemoryChunkStore from 'memory-chunk-store' +import randombytes from 'randombytes' +import WebTorrent from '../../index.js' test('client.add: emit torrent events in order', t => { t.plan(6) |