0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/tools/mocha-runner/src/reporter.ts

17 lines
364 B
TypeScript
Raw Normal View History

/**
2024-01-03 10:11:33 +00:00
* @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;