Lines Matching refs:reporter
117 ['spec', 'internal/test_runner/reporter/spec'],
118 ['dot', 'internal/test_runner/reporter/dot'],
119 ['tap', 'internal/test_runner/reporter/tap'],
120 ['junit', 'internal/test_runner/reporter/junit'],
141 // Load the test reporter passed to --test-reporter
142 let reporter = tryBuiltinReporter(name);
144 if (reporter === undefined) {
154 reporter = await esmLoader.import(name, parentURL, ObjectCreate(null));
157 if (reporter?.default) {
158 reporter = reporter.default;
161 if (reporter?.prototype && ObjectGetOwnPropertyDescriptor(reporter.prototype, 'constructor')) {
162 reporter = new reporter();
165 if (!reporter) {
166 throw new ERR_INVALID_ARG_VALUE('Reporter', name, 'is not a valid reporter');
169 return { __proto__: null, reporter, destination };
178 const { reporter, destination } = reportersMap[i];
179 compose(rootTest.reporter, reporter).pipe(destination);
200 kBuiltinReporters.set('v8-serializer', 'internal/test_runner/reporter/v8-serializer');
207 destinations = getOptionValue('--test-reporter-destination');
208 reporters = getOptionValue('--test-reporter');
219 '--test-reporter',
221 'must match the number of specified \'--test-reporter-destination\'',