Skip to content

Commit

Permalink
feat: reduce default timeout to 40s and enable it in node tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jul 9, 2017
1 parent dce396c commit 489fbb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/custom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict'

module.exports = {
timeout: 80 * 1000
timeout: 40 * 1000
}
5 changes: 5 additions & 0 deletions src/config/jest-setup.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/* eslint-env jest */
/* eslint-env jasmine */
'use strict'

const custom = require('./custom')

// Setup aliases to keep api consistent with mocha
global.before = beforeAll
global.after = afterAll

jasmine.DEFAULT_TIMEOUT_INTERVAL = custom.timeout

0 comments on commit 489fbb3

Please sign in to comment.