We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bench.reporters
1 parent 4d7938a commit 093c8f6Copy full SHA for 093c8f6
packages/vitest/src/node/types/benchmark.ts
@@ -25,12 +25,12 @@ export interface BenchmarkUserOptions {
25
includeSource?: string[]
26
27
/**
28
- * Custom reporter for output. Can contain one or more built-in report names, reporter instances,
29
- * and/or paths to custom reporters
+ * Custom reporters to use for output. Can contain one or more built-in reporter names, reporter instances,
+ * and/or paths to custom reporter files to import.
30
*
31
* @default ['default']
32
*/
33
- reporters?: Arrayable<BenchmarkBuiltinReporters | Reporter>
+ reporters?: Arrayable<BenchmarkBuiltinReporters | Reporter | (string & {})>
34
35
36
* @deprecated Use `benchmark.outputJson` instead
0 commit comments