Files
vscode/test/unit/electron
roblourensandCopilot 0f965831de Fix Agent Host hook scripts and offline Electron test setup (#339430)
* agentHost: run plugin hook fixtures with Node instead of Electron

Use the npm Node executable or the pinned toolchain Node from PATH for hook scripts. This avoids requiring Chromium user namespaces in the AWF container while preserving every hook assertion.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: disable session spellchecker downloads in Electron runner

Clear spellchecker languages and disable the default session spellchecker before test window creation. The window already disables spellchecking, but the session could still fetch dictionaries and trigger the AWF TLS-denial crash.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-03 10:56:40 -07:00
..