Skip to content

Commit 2b37bc7

Browse files
committed
fix test
1 parent 729547f commit 2b37bc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/traceloop-sdk/test/standalone-evaluators.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ describe("StandaloneEvaluators", () => {
804804
// ─── run ─────────────────────────────────────────────────────────────────────
805805

806806
describe("run", () => {
807-
it("should POST to /v2/evaluators/:id/executions and return result", async () => {
807+
it("should POST to /v2/evaluators/:id/execute and return result", async () => {
808808
let capturedUrl: string | undefined;
809809
let capturedMethod: string | undefined;
810810
let capturedBody: string | undefined;
@@ -828,7 +828,7 @@ describe("StandaloneEvaluators", () => {
828828

829829
assert.strictEqual(
830830
capturedUrl,
831-
"https://api.traceloop.com/v2/evaluators/eval-123/executions",
831+
"https://api.traceloop.com/v2/evaluators/eval-123/execute",
832832
);
833833
assert.strictEqual(capturedMethod, "POST");
834834
assert.strictEqual(result.executionId, "exec-abc");
@@ -858,7 +858,7 @@ describe("StandaloneEvaluators", () => {
858858

859859
assert.strictEqual(
860860
capturedUrl,
861-
"https://api.traceloop.com/v2/evaluators/quality-judge/executions",
861+
"https://api.traceloop.com/v2/evaluators/quality-judge/execute",
862862
);
863863
});
864864

0 commit comments

Comments
 (0)