diff --git a/tests/integration/scenarios/dash_forced-subtitles.js b/tests/integration/scenarios/dash_forced-subtitles.js index 1bc48686d1a..685264d3d7e 100644 --- a/tests/integration/scenarios/dash_forced-subtitles.js +++ b/tests/integration/scenarios/dash_forced-subtitles.js @@ -85,7 +85,7 @@ describe("DASH forced-subtitles content (SegmentTimeline)", function () { reject(err); } }); - loadContent(); + loadContent().catch(reject); }); }); }); diff --git a/tests/performance/src/main.js b/tests/performance/src/main.js index 03401762210..c1eb6eefb1a 100644 --- a/tests/performance/src/main.js +++ b/tests/performance/src/main.js @@ -43,6 +43,9 @@ function sendLog(log) { headers: { "Content-Type": "application/json" }, method: "POST", body: JSON.stringify({ type: "log", data: log }), + }).catch(err => { + // eslint-disable-next-line no-console + console.error("Error: Cannot send log due to a request error.", err); }); }