Skip to content

Commit

Permalink
moving nightwatch format to last
Browse files Browse the repository at this point in the history
  • Loading branch information
harshit-bs committed Jun 26, 2023
1 parent 04a5d7e commit af36a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/runner/test-runners/cucumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ class CucumberSuite extends TestSuite {
...options,
...this.argv,
format: [
...(Array.isArray(options.format) ? options.format : (isString(options.format) ? [options.format] : [])),
...(Array.isArray(this.argv.format) ? this.argv.format : (isString(this.argv.format) ? [this.argv.format] : []))
...(Array.isArray(this.argv.format) ? this.argv.format : (isString(this.argv.format) ? [this.argv.format] : [])),
...(Array.isArray(options.format) ? options.format : (isString(options.format) ? [options.format] : []))
]
};

Expand Down

0 comments on commit af36a44

Please sign in to comment.