chore(lint): satisfy CI lint and CodeQL in DASH support files

- replace shell-built tar/npm commands with execFileSync arg arrays in
  the fixture generator (CodeQL: uncontrolled shell command)
- give jest stub methods explicit bodies (no-empty-function)
- compact the diagnostic label switches in WebPlayerViewComponent to
  stay under the max-lines budget

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
4grayandClaude Fable 5 committed 2026-07-23 23:40:40 +02:00
1 parent 95bd7f7fe0
commit c19c639ef2
3 files changed
+26 -29

No files matched your search

+6 -2
View File
@@ -59,7 +59,9 @@ class MockShakaPlayer {
return [];
}
selectAudioTrack() {}
selectAudioTrack() {
return undefined;
}
getTextTracks() {
return [];
@@ -79,7 +81,9 @@ MockShakaPlayer.isBrowserSupported = () => true;
const shaka = {
Player: MockShakaPlayer,
polyfill: {
installAll() {},
installAll() {
return undefined;
},
},
__instances: [],
__reset() {