WXL
3 天以前 9bce51f651aad297ef9eb6df832bfdaf1de05d84
node_modules/@types/node/test/reporters.d.ts
@@ -1,41 +1,3 @@
/**
 * The `node:test` module supports passing `--test-reporter`
 * flags for the test runner to use a specific reporter.
 *
 * The following built-reporters are supported:
 *
 * * `spec`
 *   The `spec` reporter outputs the test results in a human-readable format. This
 *   is the default reporter.
 *
 * * `tap`
 *   The `tap` reporter outputs the test results in the [TAP](https://testanything.org/) format.
 *
 * * `dot`
 *   The `dot` reporter outputs the test results in a compact format,
 *   where each passing test is represented by a `.`,
 *   and each failing test is represented by a `X`.
 *
 * * `junit`
 *   The junit reporter outputs test results in a jUnit XML format
 *
 * * `lcov`
 *   The `lcov` reporter outputs test coverage when used with the
 *   `--experimental-test-coverage` flag.
 *
 * The exact output of these reporters is subject to change between versions of
 * Node.js, and should not be relied on programmatically. If programmatic access
 * to the test runner's output is required, use the events emitted by the
 * `TestsStream`.
 *
 * The reporters are available via the `node:test/reporters` module:
 *
 * ```js
 * import { tap, spec, dot, junit, lcov } from 'node:test/reporters';
 * ```
 * @since v19.9.0, v18.17.0
 * @see [source](https://github.com/nodejs/node/blob/v25.x/lib/test/reporters.js)
 */
declare module "node:test/reporters" {
    import { Transform, TransformOptions } from "node:stream";
    import { EventData } from "node:test";