File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CO
22
22
### Fixed
23
23
24
24
* 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 ) )
25
26
26
27
## [ 7.0.0] (2020-12-21)
27
28
Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ Multiple `After` hooks are executed in the **reverse** order that they are defin
46
46
47
47
---
48
48
49
+ #### ` And(pattern[, options], fn) `
50
+
51
+ Alias of ` defineStep ` .
52
+
53
+ ---
54
+
49
55
#### ` AfterAll([options,] fn) `
50
56
51
57
Defines a hook which is run after all scenarios have completed.
@@ -101,6 +107,12 @@ Multiple `BeforeStep` hooks are executed in the order that they are defined.
101
107
102
108
---
103
109
110
+ #### ` But(pattern[, options], fn) `
111
+
112
+ Alias of ` defineStep ` .
113
+
114
+ ---
115
+
104
116
#### ` defineStep(pattern[, options], fn) `
105
117
106
118
Defines a step.
You can’t perform that action at this time.
0 commit comments