Skip to content

Commit

Permalink
TEMP testem config Chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
MrChocolatine committed Oct 29, 2023
1 parent 9f3c7f3 commit 72dccca
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions testem.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: ['Chrome'],
launch_in_dev: ['Chrome'],
launch_in_ci: ['Chromium'],
launch_in_dev: ['Chromium'],
browser_paths: {
Chromium: '/Applications/Chromium.app/Contents/MacOS/Chromium',
},
browser_start_timeout: 120,
browser_args: {
Chrome: {
Chromium: {
ci: [
// --no-sandbox is needed when running Chrome inside a container
// --no-sandbox is needed when running Chromium inside a container
process.env.CI ? '--no-sandbox' : null,
'--headless',
'--disable-dev-shm-usage',
Expand Down

0 comments on commit 72dccca

Please sign in to comment.