We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c12e34a commit c728db0Copy full SHA for c728db0
tests/unit/electron.spec.js
@@ -1,9 +1,17 @@
1
const { testWithSpectron } = require('vue-cli-plugin-electron-builder')
2
-jest.setTimeout(50000)
+jest.setTimeout(70000)
3
4
test('Window Loads Properly', async () => {
5
// Wait for dev server to start
6
- const { app, stopServe } = await testWithSpectron()
+ const { app, stopServe } = await testWithSpectron({
7
+ spectronOptions: {
8
+ chromeDriverArgs: [
9
+ '--headless',
10
+ '--no-sandbox',
11
+ '--disable-dev-shm-usage'
12
+ ]
13
+ }
14
+ })
15
const win = app.browserWindow
16
const client = app.client
17
0 commit comments