Skip to content

Commit

Permalink
fixup2! test_runner: handled change for exposing 'spec' reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumi0 committed May 28, 2023
1 parent 91518ee commit e257f77
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/test/reporters.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ ObjectDefineProperties(module.exports, {
__proto__: null,
configurable: true,
enumerable: true,
get() {
spec ??= function SpecReporter() { return ReflectConstruct(require('internal/test_runner/reporter/spec'), arguments); };
return spec;
value: spec ?? function SpecReporter() {
return ReflectConstruct(require('internal/test_runner/reporter/spec'), arguments);
},
},
tap: {
Expand Down

0 comments on commit e257f77

Please sign in to comment.