Skip to content

Commit 540b4b7

Browse files
Removed wrong documentation (cucumber#1613)
* Removed wrong documentation * Removed wrong CHANGELOG reference
1 parent ab7e463 commit 540b4b7

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CO
2222
### Fixed
2323

2424
* Fix types for hook functions so they can return e.g. `'skipped'` ([#1542](https://github.com/cucumber/cucumber-js/pull/1542))
25-
* Fixed API reference for `And` and `But` methods ([#1611](https://github.com/cucumber/cucumber-js/pull/1611))
2625

2726
## [7.0.0] (2020-12-21)
2827

docs/support_files/api_reference.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ Multiple `After` hooks are executed in the **reverse** order that they are defin
4646

4747
---
4848

49-
#### `And(pattern[, options], fn)`
50-
51-
Alias of `defineStep`.
52-
53-
---
54-
5549
#### `AfterAll([options,] fn)`
5650

5751
Defines a hook which is run after all scenarios have completed.
@@ -107,12 +101,6 @@ Multiple `BeforeStep` hooks are executed in the order that they are defined.
107101

108102
---
109103

110-
#### `But(pattern[, options], fn)`
111-
112-
Alias of `defineStep`.
113-
114-
---
115-
116104
#### `defineStep(pattern[, options], fn)`
117105

118106
Defines a step.

0 commit comments

Comments
 (0)