mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-13 17:30:27 -07:00
Add Tdarr_Plugin_a9hc_HaveAGitGat_HandBrake_H264_Fast1080p30 test
This commit is contained in:
parent
406480df71
commit
d66b54506b
4 changed files with 94 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue