@vscode/test-electron 3.0.0 still launches macOS builds using:
Visual Studio Code - Insiders.app/Contents/MacOS/Electron
Current builds use the product name instead:
Visual Studio Code - Insiders.app/Contents/MacOS/Code - Insiders
This causes tests to fail before startup:
Error: spawn .../Contents/MacOS/Electron ENOENT
Exit code: -2
VS Code renamed the executable in microsoft/vscode#291948:
- Commit: microsoft/vscode@d0e5166
- Merged: February 3, 2026
1.109.x was the last version using Electron; later versions use product.nameShort.
A temporary Electron compatibility symlink was removed in microsoft/vscode#326502:
Could the macOS executable resolver read CFBundleExecutable or product.nameShort, with Electron as a fallback for older builds?
@vscode/test-electron3.0.0 still launches macOS builds using:Current builds use the product name instead:
This causes tests to fail before startup:
VS Code renamed the executable in microsoft/vscode#291948:
1.109.xwas the last version usingElectron; later versions useproduct.nameShort.A temporary
Electroncompatibility symlink was removed in microsoft/vscode#326502:Could the macOS executable resolver read
CFBundleExecutableorproduct.nameShort, withElectronas a fallback for older builds?