-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support to load reporters from a path (absolute or relative) (#39)
* Added support to load reporters from a path (absolute or relative) * Added unit test * Upgraded NMP dependencies due to failing on bitHound - Dependencies checks * Downgraded jenkins-mocha to v2.6.0 since latest version uses ES6 * Downgraded NPM dependencies because latest versions uses ES6 not ES5
- Loading branch information
1 parent
62f39a8
commit a083c96
Showing
4 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
var mocha = require('mocha'); | ||
var Base = mocha.reporters.Base; | ||
|
||
/** | ||
* This is a project-local custom reporter which is used as a stub in tests | ||
* to verify if loading reporters from a path (absolute or relative) is successful | ||
*/ | ||
function CustomReporterStub(runner) { | ||
Base.call(this, runner); | ||
} | ||
|
||
module.exports = CustomReporterStub; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters