Skip to content

Commit

Permalink
FIx typo's
Browse files Browse the repository at this point in the history
  • Loading branch information
badeball committed Nov 17, 2023
1 parent f31066b commit 6cbf333
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ Configuration values for specific types of testing (e2e / component) can be conf
// .cypress-cucumber-preprocessorrc.json
{
"e2e": {
"stepDefintions": "cypress/e2e/[filepath].{js,mjs,ts,tsx}"
"stepDefinitions": "cypress/e2e/[filepath].{js,mjs,ts,tsx}"
},
"component": {
"stepDefintions": "src/[filepath].{js,mjs,ts,tsx}"
"stepDefinitions": "src/[filepath].{js,mjs,ts,tsx}"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/step-definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ From Cucumber you might be familiar with the fact that step definitons *aren't*
This is *not* true for the preprocessor and represents the only place where the two experiences (Cucumber vs. Cypress + this preprocessor) deviates significantly. However, the preprocessor don't magically understand your intention in regards to this.

**Pairing** dictates which step definitions will be available in which feature files. Furthermore, hooks specified in paired files are the hooks which will take effect. Pairing is entirely configured through the `stepDefintions` property. Below are some examples to further explain this concept.
**Pairing** dictates which step definitions will be available in which feature files. Furthermore, hooks specified in paired files are the hooks which will take effect. Pairing is entirely configured through the `stepDefinitions` property. Below are some examples to further explain this concept.

A prerequisite for understanding this process is some knowledge of glob / search patterns. Explaining this however is out of the scope is this page. Internally, [glob](https://github.com/isaacs/node-glob) is used.

Expand Down

0 comments on commit 6cbf333

Please sign in to comment.