diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncCallbackTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncCallbackTest.test.js index 8dd82fe9e84efb6d25496fd2558f3eb004849d56..b7a67b1b6c3559b503a3346c7c69580ad6b4cde1 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncCallbackTest.test.js @@ -38,7 +38,7 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () { console.info('beforeAll case'); }) - beforeEach(function() { + beforeEach(async function() { console.info('beforeEach case'); await msleep(1000).then(() => { }, failCallback).catch(failCatch); diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js index fafc85d3530cd631eb7c37accc3ff49fc7890ec7..9337df2ac7336d8cae40e0b8795041f6dd1e7d33 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js @@ -37,7 +37,7 @@ describe('videoSoftwareEncoderFuncPromise', function () { console.info('beforeAll case'); }) - beforeEach(function() { + beforeEach(async function() { console.info('beforeEach case'); await msleep(1000).then(() => { }, failCallback).catch(failCatch); diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityPromiseTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityPromiseTest.test.js index 2a6e61838f018912b1d58633720bd11fcce7dcef..00555114c5f2aeada6f391d3182070e7ba8ea1d3 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityPromiseTest.test.js @@ -65,7 +65,7 @@ describe('videoEncoderReliabilityPromise', function () { console.info('beforeAll case'); }) - beforeEach(function() { + beforeEach(async function() { console.info('beforeEach case'); await msleep(1000).then(() => { }, failCallback).catch(failCatch);