diff --git a/lib/test/reporters.js b/lib/test/reporters.js index 6316074e6e64aa..401f476d29083b 100644 --- a/lib/test/reporters.js +++ b/lib/test/reporters.js @@ -50,7 +50,7 @@ ObjectDefineProperties(module.exports, { __proto__: null, configurable: true, enumerable: true, - get() { + value: function value() { lcov ??= require('internal/test_runner/reporter/lcov'); return ReflectConstruct(lcov, arguments); },