Skip to content

Commit 052f5e8

Browse files
Update docs/javascript_api.md
Co-authored-by: Aurélien Reeves <[email protected]>
1 parent 42598e2 commit 052f5e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/javascript_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export async function runTests(directory, configFile, failFast) {
3131
// load the support code upfront
3232
const support = await loadSupport(runnable, environment)
3333
// run cucumber, using the support code we loaded already
34-
const { success } = await runCucumber({ ...runnable, support }, environment)
34+
const { success } = await runCucumber({ ...runConfiguration, support }, environment)
3535
return success
3636
}
3737
```

0 commit comments

Comments
 (0)