Skip to content

Commit

Permalink
jsdoc for Jasmine.prototype.configureDefaultReporter
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed Jul 23, 2021
1 parent 88b4537 commit 3eb589c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/jasmine.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ Jasmine.prototype.provideFallbackReporter = function(reporter) {
this.env.provideFallbackReporter(reporter);
};

/**
* Configures the default reporter that is installed if no other reporter is
* specified.
* @param {ConsoleReporterOptions} options
*/
Jasmine.prototype.configureDefaultReporter = function(options) {
options.print = options.print || function() {
process.stdout.write(util.format.apply(this, arguments));
Expand Down

0 comments on commit 3eb589c

Please sign in to comment.