Try no-sandbox

This commit is contained in:
Nathan Bierema 2021-06-19 15:30:53 -04:00
parent ddcd6614a8
commit 7cdeb82da4
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ describe('Chrome extension', function () {
.usingServer(`http://localhost:${port}`)
.withCapabilities({
chromeOptions: {
args: [`load-extension=${path}`],
args: ['--no-sandbox', `load-extension=${path}`],
},
})
.forBrowser('chrome')

View File

@ -17,7 +17,7 @@ describe('DevTools panel for Electron', function () {
.withCapabilities({
chromeOptions: {
binary: electronPath,
args: [`app=${join(__dirname, 'fixture')}`],
args: ['--no-sandbox', `app=${join(__dirname, 'fixture')}`],
},
})
.forBrowser('electron')

View File

@ -60,7 +60,7 @@
"prettify": "prettier --write .",
"prettier:check": "prettier --check .",
"test": "jest --onlyChanged",
"test:all": "lerna run test"
"test:all": "jest"
},
"workspaces": [
"extension",