mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-13 12:36:15 -08:00
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:
1 parent
95bd7f7fe0
commit
c19c639ef2
3 files changed
+26
-29
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user