Stabilize terminal GPU platform test

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
brennanb2025
2026-06-08 15:56:18 -07:00
co-authored by Orca
parent 6c003959c1
commit 8be07ccf3f
@@ -63,6 +63,10 @@ describe('applyTerminalGpuAcceleration', () => {
})
it('keeps complex-script panes on WebGL when switching from forced WebGL back to auto', () => {
vi.stubGlobal('navigator', {
platform: 'MacIntel',
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 14_0)'
})
const pane = createPane()
pane.hasComplexScriptOutput = true
const options: PaneManagerOptions = { terminalGpuAcceleration: 'on' }