test(xtream): mock remote control runtime support

This commit is contained in:
4gray committed 2026-05-22 14:32:12 +03:00
1 parent ed8680116c
commit cf0b06312b
1 file changed
+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 },