mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-11 02:46:16 -08:00
test(electron): allow local EPG mocks in E2E
Co-authored-by: 4gray <fourgray@proton.me>
This commit is contained in:
1 parent
8e0abe6feb
commit
e2a7b5364f
2 files changed
+4
No files matched your search
@@ -13,6 +13,7 @@ jobs:
|
||||
name: Electron E2E on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
IPTVNATOR_ALLOW_PRIVATE_NETWORK_URLS: '1'
|
||||
NX_SKIP_NX_CACHE: true
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
@@ -141,6 +141,9 @@ export async function launchElectronApp(
|
||||
args,
|
||||
env: {
|
||||
...process.env,
|
||||
// Electron E2E uses local mock HTTP servers for playlists, portals, and EPG sources.
|
||||
IPTVNATOR_ALLOW_PRIVATE_NETWORK_URLS:
|
||||
process.env['IPTVNATOR_ALLOW_PRIVATE_NETWORK_URLS'] ?? '1',
|
||||
...options.env,
|
||||
ELECTRON_IS_DEV: '0',
|
||||
IPTVNATOR_E2E_DATA_DIR: dataDir,
|
||||
|
||||
Reference in new issue
Block a user