mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 20:10:03 +03:00
Began scaffolding work for download manager
This commit is contained in:
@@ -287,4 +287,39 @@ describe('Multi User', async function() {
|
||||
// });
|
||||
// });
|
||||
|
||||
describe('Downloader', function() {
|
||||
const url = '';
|
||||
const options = {
|
||||
ui_uid: uuid(),
|
||||
user: 'admin'
|
||||
}
|
||||
|
||||
const download = {
|
||||
url: url,
|
||||
options: options,
|
||||
type: 'video'
|
||||
}
|
||||
|
||||
beforeEach(async function() {
|
||||
await db_api.connectToDB();
|
||||
await db_api.removeAllRecords('download_queue');
|
||||
await db_api.insertRecordIntoTable('download_queue', download)
|
||||
});
|
||||
|
||||
it('Get file info', async function() {
|
||||
|
||||
});
|
||||
|
||||
it('Download file', async function() {
|
||||
|
||||
});
|
||||
|
||||
it('Queue file', async function() {
|
||||
|
||||
});
|
||||
|
||||
it('Pause file', async function() {
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user