Skip to content

Commit

Permalink
Add global timeout, without using jasmine jestjs/jest#5247
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewWalsh committed Apr 16, 2018
1 parent 65c6f02 commit 73d47fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/electron.globalSetup.js
Expand Up @@ -3,6 +3,7 @@ const electronPath = require('electron');
const path = require('path');

module.exports = () => {
// jest.setTimeout(10000);
const appPath = path.resolve(`${__dirname}/../app`);
const app = new Application({
path: electronPath,
Expand Down
1 change: 1 addition & 0 deletions test/electron.setupTestFrameworkScriptFile.js
@@ -0,0 +1 @@
jest.setTimeout(60000);
1 change: 1 addition & 0 deletions test/jest.config.electron.js
Expand Up @@ -4,6 +4,7 @@ module.exports = Object.assign(
{},
base,
{
setupTestFrameworkScriptFile: './electron.setupTestFrameworkScriptFile.js',
globalSetup: './electron.globalSetup.js',
setupFiles: [
'../internals/scripts/CheckBuiltsExist.js',
Expand Down

0 comments on commit 73d47fd

Please sign in to comment.