🎥 Make videos programmatically with React
workaround for linux
Igor Samokhovetsaf5175334df7
diff --git a/packages/it-tests/src/templates/electron.test.ts b/packages/it-tests/src/templates/electron.test.tsindex b9d04e631b..07c2b0a196 100644--- a/packages/it-tests/src/templates/electron.test.ts+++ b/packages/it-tests/src/templates/electron.test.ts@@ -103,12 +103,20 @@ async function runPackagedRender(outputPath: string,): Promise<void> {const launchPath = getLaunchPath(workingDir);-- await execa(launchPath, ['--integration-render-test', outputPath], {- cwd: path.dirname(launchPath),- stdio: 'inherit',- timeout: 240000,- });+ const launchArgs =+ process.platform === 'linux'+ ? ['--no-sandbox', '--disable-setuid-sandbox']+ : [];++ await execa(+ launchPath,+ [...launchArgs, '--integration-render-test', outputPath],+ {+ cwd: path.dirname(launchPath),+ stdio: 'inherit',+ timeout: 240000,+ },+ );}test('Electron template should package and render after publish-style dependency rewriting', async () => {