@arizeai/phoenix-client
Version:
A client for the Phoenix API
19 lines • 773 B
TypeScript
import { formatSuiteSummary, printSuiteSummaries } from "../testing/reporter-format";
/**
* Vitest reporter for `@arizeai/phoenix-client/vitest`.
*
* The reporter does not replace Vitest's default test output. Instead it
* appends a Phoenix-flavored summary at the end of the run that lists
* outputs, annotations, and dataset/experiment links for each suite.
*
* The class implements the Vitest `Reporter` interface structurally rather
* than nominally so we don't have to import a CJS type from `vitest/reporters`.
*/
export default class PhoenixVitestReporter {
private readonly report;
onTestRunStart(): void;
onTestRunEnd(): void;
onFinished(): void;
}
export { formatSuiteSummary, printSuiteSummaries };
//# sourceMappingURL=reporter.d.ts.map