Skip to content

Commit

Permalink
fix helper/e2e script
Browse files Browse the repository at this point in the history
  • Loading branch information
kuceb committed Nov 26, 2019
1 parent 8fd910f commit 758055a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/server/test/support/helpers/e2e.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,9 @@ getBrowsers = (generateTestsForDefaultBrowsers, browser, defaultBrowsers) ->
## otherwise return the specified browser
return [browser]

currentOptions = {}

localItFn = (title, options = {}) ->
options = currentOptions = _
options = _
.chain(options)
.clone()
.defaults({
Expand Down Expand Up @@ -390,6 +389,8 @@ module.exports = e2e = {
## normalize the path to the spec
options.spec = specs.join(',')

currentOptions = options

return options

args: (options = {}) ->
Expand Down

0 comments on commit 758055a

Please sign in to comment.