Skip to content

Commit fcbeb44

Browse files
authored
docs: add hook name to user code api doc
1 parent 5b69635 commit fcbeb44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/support_files/api_reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The built in parameter types are:
3535
Defines a hook which is run after each scenario.
3636

3737
* `options`: An object with the following keys:
38+
* `name`: An optional name for this hook
3839
* `tags`: String tag expression used to apply this hook to only specific scenarios. See [cucumber-tag-expressions](https://github.com/cucumber/tag-expressions) for more information.
3940
* `timeout`: A hook-specific timeout, to override the default timeout.
4041
* `fn`: A function, defined as follows:

0 commit comments

Comments
 (0)