You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11-4
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,8 @@
29
29
#### Breaking Changes
30
30
31
31
* update support code library interface - instead of exporting a function and calling methods on `this`, require the `cucumber` module and call `defineSupportCode` which passes an object as the first argument whch exposes the methods. Overriding the world constructor has changed from overriding the World property to calling `setWorldConstructor`.
32
-
```js
32
+
33
+
```javascript
33
34
// 1.3.1
34
35
module.exports=function () {
35
36
this.Given(/^a step$/, function() {});
@@ -114,7 +115,8 @@
114
115
* Support Files
115
116
* Attachments
116
117
* The `attach`function used for adding attachments moved from the API scenario object to world. It is thus now available in step definitions without saving a reference to the scenario.
0 commit comments