puppeteer/tools/mocha-runner/src/reporter.ts
2024-01-03 10:11:33 +00:00

17 lines
364 B
TypeScript

/**
* @license
* Copyright 2022 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
import Mocha from 'mocha';
class SpecJSONReporter extends Mocha.reporters.Spec {
constructor(runner: Mocha.Runner, options?: Mocha.MochaOptions) {
super(runner, options);
Mocha.reporters.JSON.call(this, runner, options);
}
}
module.exports = SpecJSONReporter;