Skip to content

Commit

Permalink
Removed vestigal code for old timer reporter option
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed Jul 23, 2021
1 parent f8e45d1 commit 88b4537
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/jasmine.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ Jasmine.prototype.provideFallbackReporter = function(reporter) {
};

Jasmine.prototype.configureDefaultReporter = function(options) {
options.timer = options.timer || new this.jasmine.Timer();
options.print = options.print || function() {
process.stdout.write(util.format.apply(this, arguments));
};
Expand Down
2 changes: 0 additions & 2 deletions spec/jasmine_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ describe('Jasmine', function() {
print: 'printer',
showColors: true,
jasmineCorePath: 'path',
timer: 'timer'
};

var expectedReporterOptions = Object.keys(reporterOptions).reduce(function(options, key) {
Expand All @@ -160,7 +159,6 @@ describe('Jasmine', function() {
var expectedReporterOptions = {
print: jasmine.any(Function),
showColors: true,
timer: jasmine.any(Object),
jasmineCorePath: path.normalize('fake/jasmine/path/jasmine.js')
};

Expand Down

0 comments on commit 88b4537

Please sign in to comment.