Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

fix: add --no-sandbox flag for CI chromium

Christian Fei4b20622a27e3
diff --git a/web-test-runner.config.mjs b/web-test-runner.config.mjs
index 4e3534e..6a81201 100644
--- a/web-test-runner.config.mjs
+++ b/web-test-runner.config.mjs
@@ -7,7 +7,10 @@ export default {
setupFiles: ['client/test/setup.js'],
browsers: [
puppeteerLauncher({
- launchOptions: { headless: true }
+ launchOptions: {
+ headless: true,
+ args: ['--no-sandbox', '--disable-setuid-sandbox']
+ }
})
]
}