Skip to content

Commit

Permalink
Merge pull request #125 from codeforequity-at/BOT-2198-increase-mocha…
Browse files Browse the repository at this point in the history
…-timeout-with-a-capabilitiy

Added env variables to set timeout for jasmine and mocha
  • Loading branch information
Botium authored Apr 1, 2021
2 parents ca1fc02 + f3f3740 commit f352103
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/helpers/jasmine.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const BotiumBindings = require('../BotiumBindings')

const defaultTimeout = 60000
const defaultTimeout = process.env.BOTIUM_JASMINE_TIMEOUT || 60000

const setupJasmineTestCases = ({ timeout = defaultTimeout, testcaseSelector, bb } = {}) => {
bb = bb || new BotiumBindings()
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const BotiumBindings = require('../BotiumBindings')

const defaultTimeout = 60000
const defaultTimeout = process.env.BOTIUM_MOCHA_TIMEOUT || 60000

const setupMochaTestCases = ({ timeout = defaultTimeout, testcaseSelector, bb } = {}) => {
bb = bb || new BotiumBindings()
Expand Down

0 comments on commit f352103

Please sign in to comment.