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: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,11 +54,11 @@ module.exports = function JsonOutputHook() {
54
54
};
55
55
```
56
56
57
-
Above snippet will hook into the CucumberJS JSON formatter and save the JSON to a file called 'cucumber-test-results.json' in the ./reports folder (relative from this file's location)/
57
+
Above snippet will hook into the CucumberJS JSON formatter and save the JSON to a file called 'cucumber-test-results.json' in the './reports' folder (relative from this file's location)
58
58
59
59
### Setting up Protractor, CucumberJS and the JSON listener
60
60
61
-
In your protractor.conf.js add a reference to the hook listener (as shown above). In this example the file is found in 'support/'. Also make sure to set the output format to 'json'.
61
+
In your protractor.conf.js add a reference to the hook listener (as shown above). In this example the file is found in './support'. Also make sure to set the output format to 'json'.
0 commit comments