Convert non=string to string for comparsion, add test

This commit is contained in:
HaveAGitGat 2023-05-05 05:58:56 +01:00
parent 5c76c32db6
commit 95c61a0eae
2 changed files with 22 additions and 1 deletions

View file

@ -196,6 +196,27 @@ const tests = [
},
},
{
input: {
file: _.cloneDeep(require('../sampleData/media/sampleH264_2.json')),
librarySettings: {},
inputs: {
propertyToCheck: 'level',
valuesToRemove: '41',
},
otherArguments: {},
},
output: {
processFile: true,
preset: ', -map 0 -c copy -max_muxing_queue_size 9999 -map -0:0 ',
container: '.mkv',
handBrakeMode: false,
FFmpegMode: true,
reQueueAfter: false,
infoLog: ' Removing stream 0 which is has level of 41 \n'
+ ' Files has streams which need to be removed, processing \n',
},
},
];
run(tests);