mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 10:06:15 -08:00
test(xtream): mock remote control runtime support
This commit is contained in:
1 parent
ed8680116c
commit
cf0b06312b
1 file changed
+7
+7
@@ -238,6 +238,13 @@ describe('LiveStreamLayoutComponent', () => {
|
||||
get isElectron() {
|
||||
return Boolean(window.electron);
|
||||
},
|
||||
get supportsRemoteControl() {
|
||||
return Boolean(
|
||||
window.electron?.updateRemoteControlStatus &&
|
||||
window.electron.onChannelChange &&
|
||||
window.electron.onRemoteControlCommand
|
||||
);
|
||||
},
|
||||
},
|
||||
},
|
||||
{ provide: SettingsStore, useValue: settingsStore },
|
||||
|
||||
Reference in new issue
Block a user