mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-14 20:11:28 +03:00
Subscription videos now skip the collect info step during download process, reducing calls to video host
This commit is contained in:
@@ -618,4 +618,12 @@ describe('Archive', async function() {
|
||||
assert(!new_archive.includes('testing2'));
|
||||
assert(new_blacklist.includes('testing2'));
|
||||
});
|
||||
});
|
||||
|
||||
describe('Utils', async function() {
|
||||
it('Strip properties', async function() {
|
||||
const test_obj = {test1: 'test1', test2: 'test2', test3: 'test3'};
|
||||
const stripped_obj = utils.stripPropertiesFromObject(test_obj, ['test1', 'test3']);
|
||||
assert(!stripped_obj['test1'] && stripped_obj['test2'] && !stripped_obj['test3'])
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user