Skip to content

Commit

Permalink
Merge branch 'main' into fix/absolute-paths-various
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss committed Jun 29, 2022
2 parents afc534b + 1da05aa commit ed230cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/custom_snippet_syntaxes.md
Expand Up @@ -7,7 +7,7 @@
* An object with the following keys:
* `comment`: a comment to be placed at the top of the function
* `functionName`: the function name to use for the snippet
* `generatedExpressions`: from [cucumber-expressions](https://github.com/cucumber/cucumber-expressions-javascript). In most cases will be an array of length 1. But there may be multiple. If multiple, please follow the behavior of the javascript syntax in presenting each of them. See the "multiple patterns" test in this [file](/src/formatter/step_definition_snippet_builder/javascript_snippet_syntax_spec.ts).
* `generatedExpressions`: from [cucumber-expressions](https://github.com/cucumber/cucumber-expressions#readme). In most cases will be an array of length 1. But there may be multiple. If multiple, please follow the behavior of the javascript syntax in presenting each of them. See the "multiple patterns" test in this [file](/src/formatter/step_definition_snippet_builder/javascript_snippet_syntax_spec.ts).
* `stepParameterNames`: names for the doc string or data table parameter when applicable. Theses should be appended to the parameter names of each generated expressions.
* Please add the keywords `cucumber` and `snippets` to your package, so it can easily be found by searching [npm](https://www.npmjs.com/search?q=cucumber+snippets).
* Please open an issue if you would like more information.
2 changes: 1 addition & 1 deletion docs/support_files/step_definitions.md
Expand Up @@ -9,7 +9,7 @@ Cucumber supports two types of expressions:

## Cucumber expressions

[Full docs.](https://cucumber.io/docs/cucumber/cucumber-expressions/)
[Full docs.](https://github.com/cucumber/cucumber-expressions#readme)

Gherkin:
```gherkin
Expand Down

0 comments on commit ed230cf

Please sign in to comment.