mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-16 21:12:13 +00:00
Created proper error logging (#55)
* changes in the evaluation of sessionInfo * added Errors struct * changed error handling if FFmpeg not present * fixed error loggin thanks to the new Errors struct * minor fix after changes in sanitizeUrls * fix for succsesful execution and unknown code
This commit is contained in:
@@ -53,7 +53,7 @@ describe('Destreamer', () => {
|
||||
|
||||
fs.writeFileSync(tmpFile.fd, testIn.join('\r\n'));
|
||||
|
||||
testOut = parseVideoUrls([tmpFile.name]);
|
||||
testOut = parseVideoUrls([tmpFile.name])!;
|
||||
if (testOut.length !== expectedOut.length)
|
||||
assert.strictEqual(testOut, expectedOut, "URL list not sanitized");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user