@arizeai/phoenix-client
Version:
A client for the Phoenix API
23 lines • 735 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const report_run_1 = require("../testing/report-run");
/**
* 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.
*/
class PhoenixJestReporter {
// jest passes globalConfig + reporterOptions; we ignore both
constructor(_globalConfig, _reporterOptions) {
this.report = new report_run_1.SuiteSummaryReportRun();
}
onRunStart() {
this.report.begin();
}
onRunComplete() {
this.report.finish();
}
}
exports.default = PhoenixJestReporter;
//# sourceMappingURL=reporter.js.map