Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Simplify a bit and obey code convention
Browse files Browse the repository at this point in the history
  • Loading branch information
szwacz committed Sep 27, 2016
1 parent cd7bd37 commit 6fe34d7
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions scripts/istanbul-reporter.js
@@ -1,18 +1,6 @@
var istanbul = require('istanbul'),
var istanbul = require('istanbul');

/**
* Expose `Istanbul`.
*/
exports = module.exports = Istanbul;

/**
* Initialize a new Istanbul reporter.
*
* @param {Runner} runner
* @param {Object} options
* @public
*/
function Istanbul(runner, options) {
module.exports = function (runner, options) {
mocha.reporters.Base.call(this, runner);

var reporterOpts = { dir: 'coverage' },
Expand All @@ -35,5 +23,4 @@ function Istanbul(runner, options) {
});

});

}
};

0 comments on commit 6fe34d7

Please sign in to comment.