Skip to content

Commit 24b420d

Browse files
authored
Update javascript_api.md
1 parent 052f5e8 commit 24b420d

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
@@ -13,7 +13,7 @@ import { loadConfiguration, runCucumber } from '@cucumber/cucumber/api'
1313

1414
export async function runTests() {
1515
const { runConfiguration } = await loadConfiguration()
16-
const { success } = await runCucumber(runnable)
16+
const { success } = await runCucumber(runConfiguration)
1717
return success
1818
}
1919
```

0 commit comments

Comments
 (0)