Skip to content

Commit

Permalink
Add caveats to step def docs
Browse files Browse the repository at this point in the history
  • Loading branch information
badeball committed Jul 31, 2022
1 parent 1384c1b commit d7f0de6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/step-definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ There's also a `[filepart]` option available. Given a configuration shown below
* `cypress/e2e/foo/bar/step_definitions/**/*.{js,ts}`
* `cypress/e2e/foo/step_definitions/**/*.{js,ts}`
* `cypress/e2e/step_definitions/**/*.{js,ts}`

## Caveats

The library makes use of [glob](https://github.com/isaacs/node-glob) to turn patterns into a list of files. This has some implications, explained below (list is non-exhaustive and will be expanded on demand).

* Single term inside braces, EG. `foo/bar.{js}`, doesn't work as you might expect, ref. https://github.com/isaacs/node-glob/issues/434.

0 comments on commit d7f0de6

Please sign in to comment.