Skip to content

Commit

Permalink
Fix issues seen by sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Jul 4, 2023
1 parent 8e8e87c commit eb99f4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/scenarios/dash_forced-subtitles.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe("DASH forced-subtitles content (SegmentTimeline)", function () {
reject(err);
}
});
loadContent();
loadContent().catch(reject);
});
});
});
3 changes: 3 additions & 0 deletions tests/performance/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}

Expand Down

0 comments on commit eb99f4b

Please sign in to comment.