Skip to content

Commit d7f0de6

Browse files
committed
Add caveats to step def docs
1 parent 1384c1b commit d7f0de6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/step-definitions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ There's also a `[filepart]` option available. Given a configuration shown below
3636
* `cypress/e2e/foo/bar/step_definitions/**/*.{js,ts}`
3737
* `cypress/e2e/foo/step_definitions/**/*.{js,ts}`
3838
* `cypress/e2e/step_definitions/**/*.{js,ts}`
39+
40+
## Caveats
41+
42+
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).
43+
44+
* 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 commit comments

Comments
 (0)