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/download-webseed-torrent.js')
-rw-r--r--test/download-webseed-torrent.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/download-webseed-torrent.js b/test/download-webseed-torrent.js
index 3a5c197..7cbc889 100644
--- a/test/download-webseed-torrent.js
+++ b/test/download-webseed-torrent.js
@@ -1,14 +1,13 @@
var auto = require('run-auto')
+var finalhandler = require('finalhandler')
var fs = require('fs')
+var http = require('http')
var parseTorrent = require('parse-torrent')
+var path = require('path')
+var serveStatic = require('serve-static')
var test = require('tape')
var WebTorrent = require('../')
-var http = require('http')
-var serveStatic = require('serve-static')
-var finalhandler = require('finalhandler')
-var path = require('path')
-
var leavesPath = path.resolve(__dirname, 'content', 'Leaves of Grass by Walt Whitman.epub')
var leavesFilename = 'Leaves of Grass by Walt Whitman.epub'
var leavesFile = fs.readFileSync(leavesPath)