mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 10:06:15 -08:00
test(embedded-mpv): preserve packaged GL mode
This commit is contained in:
1 parent
22079a5986
commit
f8794dd0a0
2 files changed
+9
-2
No files matched your search
@@ -279,6 +279,15 @@ describe('native-view playback proof', () => {
|
||||
});
|
||||
|
||||
describe('dedicated packaged smoke target', () => {
|
||||
it('inherits the GL mode from the workflow environment', () => {
|
||||
const source = readFileSync(
|
||||
join(projectRoot, 'src', 'embedded-mpv-frame-copy-packaged.e2e.ts'),
|
||||
'utf8'
|
||||
);
|
||||
|
||||
assert.doesNotMatch(source, /LIBGL_ALWAYS_SOFTWARE\s*:/);
|
||||
});
|
||||
|
||||
it('does not build the backend or start portal mock servers', () => {
|
||||
const project = JSON.parse(
|
||||
readFileSync(join(projectRoot, 'project.json'), 'utf8')
|
||||
|
||||
@@ -96,7 +96,6 @@ test.describe('Packaged Linux embedded MPV frame-copy runtime', () => {
|
||||
{
|
||||
env: {
|
||||
[FRAME_COPY_OPT_IN_ENV]: '1',
|
||||
LIBGL_ALWAYS_SOFTWARE: '1',
|
||||
},
|
||||
}
|
||||
);
|
||||
@@ -228,7 +227,6 @@ test.describe('Packaged Linux embedded MPV frame-copy runtime', () => {
|
||||
{
|
||||
env: {
|
||||
[FRAME_COPY_OPT_IN_ENV]: '1',
|
||||
LIBGL_ALWAYS_SOFTWARE: '1',
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user