Add Tdarr_Plugin_a9hc_HaveAGitGat_HandBrake_H264_Fast1080p30 test

This commit is contained in:
HaveAGitGat 2022-05-21 19:47:35 +01:00
parent 406480df71
commit d66b54506b
4 changed files with 94 additions and 2 deletions

View file

@ -11,9 +11,13 @@ const run = async (tests) => {
// eslint-disable-next-line no-console
console.log(`${scriptName}: test ${i}`);
const test = tests[i];
let { file } = test.input;
if (typeof test.input.file === 'function') {
file = test.input.file();
}
// eslint-disable-next-line no-await-in-loop
const testOutput = await plugin(
test.input.file,
file,
test.input.librarySettings,
test.input.inputs,
test.input.otherArguments,