From 2618a967f8bf99e0a254c7fab5b07e0125c8fe9f Mon Sep 17 00:00:00 2001 From: Romain Date: Wed, 5 Apr 2023 20:33:17 +0000 Subject: [PATCH] test: fix broken tests for hw acceleration --- test/steps/actions.spec.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/steps/actions.spec.js b/test/steps/actions.spec.js index 801f60d..5f01f77 100644 --- a/test/steps/actions.spec.js +++ b/test/steps/actions.spec.js @@ -151,7 +151,8 @@ describe('actions', () => { should(downsizeArgs).eql({ format: undefined, quality: undefined, - bitrate: undefined + bitrate: undefined, + hwaccel: undefined }) testEnd() }) @@ -163,7 +164,8 @@ describe('actions', () => { // but this is OK for testing the mapping videoFormat: 'mp4', videoQuality: 75, - videoBitrate: '1200k' + videoBitrate: '1200k', + videoHwaccel: 'vaapi' }) const action = map['video:resized'] action(ANY_TASK, err => { @@ -172,7 +174,8 @@ describe('actions', () => { should(downsizeArgs).eql({ format: 'mp4', quality: 75, - bitrate: '1200k' + bitrate: '1200k', + hwaccel: 'vaapi' }) testEnd() })