@arizeai/phoenix-client
Version:
A client for the Phoenix API
19 lines • 619 B
JavaScript
import { SuiteSummaryReportRun } from "../testing/report-run.js";
/**
* Jest reporter for `@arizeai/phoenix-client/jest`.
*
* Like the Vitest reporter, this does not replace Jest's default output. It
* appends a Phoenix summary block at the end of the run.
*/
export default class PhoenixJestReporter {
report = new SuiteSummaryReportRun();
// jest passes globalConfig + reporterOptions; we ignore both
constructor(_globalConfig, _reporterOptions) { }
onRunStart() {
this.report.begin();
}
onRunComplete() {
this.report.finish();
}
}
//# sourceMappingURL=reporter.js.map