summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/tools/mocha-runner/src/reporter.ts
blob: 7acd5319febe271249915008a01cd3aaa81b3bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * @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;