Browse Source

Merge pull request #835 from mrfelton/ci/jest-timeout-increase

ci(jest): increase timeouts
renovate/lint-staged-8.x
Tom Kirkpatrick 6 years ago
committed by GitHub
parent
commit
29a07f3051
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      test/e2e/e2e.spec.js

7
test/e2e/e2e.spec.js

@ -2,14 +2,17 @@ import { Application } from 'spectron'
import electronPath from 'electron'
import path from 'path'
jest.setTimeout(10000)
jest.setTimeout(25000)
jest.unmock('electron')
describe('main window', function spec() {
beforeAll(async () => {
this.app = new Application({
path: electronPath,
args: [path.join(__dirname, '..', '..', 'app')]
args: [path.join(__dirname, '..', '..', 'app')],
waitTimeout: 10000,
startTimeout: 10000,
quitTimeout: 2000
})
await this.app.start()

Loading…
Cancel
Save