fix: add xvfb run

This commit is contained in:
Marc Diaz
2026-03-16 11:24:30 -04:00
parent 9f6ef0f582
commit 61d89831bb
2 changed files with 9 additions and 2 deletions
+5 -1
View File
@@ -13,7 +13,11 @@ test("exports a GIF from a loaded video", async () => {
const outputPath = path.join(os.tmpdir(), `test-gif-export-${Date.now()}.gif`);
const app = await electron.launch({
args: [MAIN_JS],
args: [
MAIN_JS,
// Required in CI sandbox environments (GitHub Actions, Docker, etc.)
"--no-sandbox",
],
env: {
...process.env,
// Set HEADLESS=false to show windows while debugging.