Pattern
Render-Time Side Effects
render-time-side-effects
Electron’s uses components like Xvfb that are not in the headless ci — launching the VS Code environment in headless CI. Outcome: Xvfb creates a virtual display that VS Code can use to run tests like there is a GUI. | my integration tests fail in GitHub Actions — I've written integration tests using Mocha and the @vscode/test-electron runner. Tension: The failure seems to relate to launching the VS Code environment in headless CI. Outcome: use Xvfb to simulate a display. | Install Xvfb — GitHub Actions workflow. Tension: Electron that rely on a GUI. Outcome: Xvfb creates a virtual display that VS Code can use to run tests like there is a GUI.