Skip to content

Commit

Permalink
Update my.custom.reporter.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TuHuynhVan authored and christian-bromann committed Dec 18, 2017
1 parent 4ee401e commit 7b32169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/wdio/reporter/my.custom.reporter.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
var util = require('util'),
events = require('events');

var CustomReporter = function(options) {
console.log('initialised custom reporter with the following reporter options:', options.reporterOptions);
var CustomReporter = function(baseReporter, config, options) {
console.log('initialised custom reporter with the following reporter options:', options);

this.on('start', function() {
console.log('start');
Expand Down

0 comments on commit 7b32169

Please sign in to comment.