Began scaffolding work for download manager

This commit is contained in:
Isaac Abadi
2021-08-02 18:41:30 -06:00
parent b1385f451b
commit 01b6e22f83
2 changed files with 319 additions and 0 deletions

View File

@@ -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() {
});
});
});