diff --git a/tests/unit/electron.spec.js b/tests/unit/electron.spec.js index a69bf4c..aab5545 100644 --- a/tests/unit/electron.spec.js +++ b/tests/unit/electron.spec.js @@ -1,9 +1,17 @@ const { testWithSpectron } = require('vue-cli-plugin-electron-builder') -jest.setTimeout(50000) +jest.setTimeout(70000) test('Window Loads Properly', async () => { // Wait for dev server to start - const { app, stopServe } = await testWithSpectron() + const { app, stopServe } = await testWithSpectron({ + spectronOptions: { + chromeDriverArgs: [ + '--headless', + '--no-sandbox', + '--disable-dev-shm-usage' + ] + } + }) const win = app.browserWindow const client = app.client