UNPKG

langsmith

Version:

Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.

15 lines (14 loc) 663 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /* eslint-disable import/no-extraneous-dependencies */ // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore Import throws an error in internal CJS build, but seems to work fine after build const reporters_1 = require("vitest/reporters"); const reporter_js_1 = require("./utils/reporter.cjs"); class LangSmithEvalReporter extends reporters_1.DefaultReporter { async onFinished(files, errors) { super.onFinished(files, errors); await (0, reporter_js_1.printVitestReporterTable)(files, this.ctx); } } exports.default = LangSmithEvalReporter;