Skip to content

Commit

Permalink
Merge branch 'main' into deprecations-before-9
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss authored Oct 16, 2022
2 parents 2105f7a + 7f43644 commit 954340d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/javascript_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export async function runTests(directory, configFile, failFast) {
// load configuration from a particular file, and override a specific option
const { runConfiguration } = await loadConfiguration({ file: configFile, provided: { failFast } }, environment)
// load the support code upfront
const support = await loadSupport(runnable, environment)
const support = await loadSupport(runConfiguration, environment)
// run cucumber, using the support code we loaded already
const { success } = await runCucumber({ ...runConfiguration, support }, environment)
return success
Expand Down

0 comments on commit 954340d

Please sign in to comment.