Integration test: create torrents
This commit is contained in:
14
test/config.js
Normal file
14
test/config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
const path = require('path')
|
||||
|
||||
const TEST_DIR = path.join(__dirname, 'tempTestData')
|
||||
const TEST_DIR_DOWNLOAD = path.join(TEST_DIR, 'Downloads')
|
||||
const TEST_DIR_DESKTOP = path.join(TEST_DIR, 'Desktop')
|
||||
|
||||
module.exports = {
|
||||
TORRENT_FILES: [path.join(__dirname, 'resources', '1.torrent')],
|
||||
SEED_FILES: [path.join(TEST_DIR_DESKTOP, 'tmp.jpg')],
|
||||
SAVED_TORRENT_FILE: path.join(TEST_DIR_DESKTOP, 'saved.torrent'),
|
||||
TEST_DIR,
|
||||
TEST_DIR_DOWNLOAD,
|
||||
TEST_DIR_DESKTOP
|
||||
}
|
||||
Reference in New Issue
Block a user